[Lldb-commits] [PATCH] D31882: Fix the libc++ std::vector<bool> data formatter
Tamas Berghammer via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Mon Apr 10 11:07:46 PDT 2017
tberghammer created this revision.
Herald added a reviewer: EricWF.
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
https://reviews.llvm.org/D31882
Files:
packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/vbool/TestDataFormatterLibcxxVBool.py
source/Plugins/Language/CPlusPlus/CPlusPlusLanguage.cpp
source/Plugins/Language/CPlusPlus/LibCxx.cpp
source/Plugins/Language/CPlusPlus/LibCxx.h
source/Plugins/Language/CPlusPlus/LibCxxVector.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D31882.94666.patch
Type: text/x-patch
Size: 15630 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20170410/bc3d511f/attachment.bin>
More information about the lldb-commits
mailing list