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

Michael Buch via lldb-commits lldb-commits at lists.llvm.org
Sun Feb 4 13:24:05 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);
----------------
Michael137 wrote:

Do we need the `(( )?&)?` part?

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


More information about the lldb-commits mailing list