[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


================
@@ -871,6 +876,10 @@ static void LoadLibCxxFormatters(lldb::TypeCategoryImplSP cpp_category_sp) {
                 lldb_private::formatters::LibcxxContainerSummaryProvider,
                 "libc++ std::vector summary provider",
                 "^std::__[[:alnum:]]+::vector<.+>$", stl_summary_flags, true);
+  AddCXXSummary(
+      cpp_category_sp, lldb_private::formatters::LibcxxContainerSummaryProvider,
+      "libc++ std::valarray summary provider",
+      "^std::__[[:alnum:]]+::valarray<.+>(( )?&)?$", stl_summary_flags, true);
----------------
Michael137 wrote:

Do we need `(( )?&)?` here?

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


More information about the lldb-commits mailing list