From 49d7c53756bc6e06bb6ae160bef5f944f18dfa2f Mon Sep 17 00:00:00 2001 From: Michael Buch Date: Mon, 7 Jul 2025 09:14:10 +0100 Subject: [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 --- lldb/source/Plugins/Language/CPlusPlus/CPlusPlusLanguage.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lldb/source/Plugins/Language/CPlusPlus/CPlusPlusLanguage.cpp') 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, -- cgit v1.1