[Lldb-commits] [lldb] [lldb][libc++] Adds valarray data formatters. (PR #80609)

Mark de Wever via lldb-commits lldb-commits at lists.llvm.org
Sat Feb 10 09:17:27 PST 2024


================
@@ -750,6 +750,11 @@ static void LoadLibCxxFormatters(lldb::TypeCategoryImplSP cpp_category_sp) {
       lldb_private::formatters::LibcxxStdVectorSyntheticFrontEndCreator,
       "libc++ std::vector synthetic children",
       "^std::__[[:alnum:]]+::vector<.+>$", stl_deref_flags, true);
+  AddCXXSynthetic(
+      cpp_category_sp,
+      lldb_private::formatters::LibcxxStdValarraySyntheticFrontEndCreator,
+      "libc++ std::valarray synthetic children",
+      "^std::__[[:alnum:]]+::valarray<.+>(( )?&)?$", stl_deref_flags, true);
----------------
mordante wrote:

I copied these from `vector` which were present the original tree I worked on. I'll remove them.

https://github.com/llvm/llvm-project/pull/80609


More information about the lldb-commits mailing list