Page MenuHomePhabricator

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

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

Details

Summary

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.

Bug: llvm.org/pr32553

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 https://reviews.llvm.org/D31880. Abandoning this one.