Page MenuHomePhabricator

Fix the libc++ std::vector<bool> data formatter

Authored by tberghammer on Apr 10 2017, 6:50 AM.



Fix the libc++ std::vector<bool> data formatter

Previously we randomly triggered either the std::vector<...> or the
std::vector<bool> data formatter causing an issue when the former got
triggered for an std::vector<bool>.

This change moves the logic to decide which one to trigger from the
regular expression used to register the formatter into the formatter
creation logic as the former had no way to specify precedence.


Diff Detail

Event Timeline

tberghammer created this revision.Apr 10 2017, 6:50 AM
tberghammer abandoned this revision.Apr 10 2017, 6:55 AM

Pavel created a separate fix as Abandoning this one.