Three LoadLibCxxFormatters formatters were given a regex string to

match but the 'is_regex' argument was not passed as true.  Not sure
this is causing a bug, but noticed it while working on another bug.
These formatters gained a regex in r274489 for NDK but didn't pick
up the is_regex flag at the time.
<rdar://problem/30646077> 

llvm-svn: 296243
This commit is contained in:
Jason Molenda 2017-02-25 05:43:51 +00:00
parent 9bc02cee8d
commit 6b652bea30
1 changed files with 3 additions and 3 deletions

View File

@ -624,14 +624,14 @@ static void LoadLibCxxFormatters(lldb::TypeCategoryImplSP cpp_category_sp) {
lldb_private::formatters::LibcxxVectorBoolSyntheticFrontEndCreator,
"libc++ std::vector<bool> synthetic children",
ConstString("std::__(ndk)?1::vector<std::__(ndk)?1::allocator<bool> >"),
stl_synth_flags);
stl_synth_flags, true);
AddCXXSynthetic(
cpp_category_sp,
lldb_private::formatters::LibcxxVectorBoolSyntheticFrontEndCreator,
"libc++ std::vector<bool> synthetic children",
ConstString(
"std::__(ndk)?1::vector<bool, std::__(ndk)?1::allocator<bool> >"),
stl_synth_flags);
stl_synth_flags, true);
AddCXXSynthetic(
cpp_category_sp,
lldb_private::formatters::LibcxxStdMapSyntheticFrontEndCreator,
@ -765,7 +765,7 @@ static void LoadLibCxxFormatters(lldb::TypeCategoryImplSP cpp_category_sp) {
"libc++ std::vector<bool> summary provider",
ConstString(
"std::__(ndk)?1::vector<bool, std::__(ndk)?1::allocator<bool> >"),
stl_summary_flags);
stl_summary_flags, true);
AddCXXSynthetic(
cpp_category_sp,
lldb_private::formatters::LibCxxMapIteratorSyntheticFrontEndCreator,