aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/Language/CPlusPlus/CPlusPlusLanguage.cpp
diff options
context:
space:
mode:
authorMichael Buch <michaelbuch12@gmail.com>2025-07-07 09:14:10 +0100
committerGitHub <noreply@github.com>2025-07-07 09:14:10 +0100
commit49d7c53756bc6e06bb6ae160bef5f944f18dfa2f (patch)
tree9064af920fd70ac29abb0299246a2217cf73f4f8 /lldb/source/Plugins/Language/CPlusPlus/CPlusPlusLanguage.cpp
parent6fec6a98c01523a5478ce2aa9617e884dc772f6f (diff)
downloadllvm-49d7c53756bc6e06bb6ae160bef5f944f18dfa2f.zip
llvm-49d7c53756bc6e06bb6ae160bef5f944f18dfa2f.tar.gz
llvm-49d7c53756bc6e06bb6ae160bef5f944f18dfa2f.tar.bz2
[lldb][test] Combine libstdc++ and libc++ std::map tests into generic test (#147174)
This combines the libc++ and libstdc++ test cases. The libstdcpp tests were a subset of the libc++ test, so this patch moves the libcxx test into generic and removes the libstdcpp test entirely. Split out from https://github.com/llvm/llvm-project/pull/146740
Diffstat (limited to 'lldb/source/Plugins/Language/CPlusPlus/CPlusPlusLanguage.cpp')
-rw-r--r--lldb/source/Plugins/Language/CPlusPlus/CPlusPlusLanguage.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/Plugins/Language/CPlusPlus/CPlusPlusLanguage.cpp b/lldb/source/Plugins/Language/CPlusPlus/CPlusPlusLanguage.cpp
index 327ab3a..06412e3 100644
--- a/lldb/source/Plugins/Language/CPlusPlus/CPlusPlusLanguage.cpp
+++ b/lldb/source/Plugins/Language/CPlusPlus/CPlusPlusLanguage.cpp
@@ -1525,8 +1525,8 @@ static void LoadLibStdcppFormatters(lldb::TypeCategoryImplSP cpp_category_sp) {
AddCXXSynthetic(
cpp_category_sp,
lldb_private::formatters::LibstdcppMapIteratorSyntheticFrontEndCreator,
- "std::map iterator synthetic children", "^std::_Rb_tree_iterator<.+>$",
- stl_synth_flags, true);
+ "std::map iterator synthetic children",
+ "^std::_Rb_tree_(const_)?iterator<.+>$", stl_synth_flags, true);
AddCXXSynthetic(
cpp_category_sp,