[Lldb-commits] [PATCH] D76476: Add formatter for libc++ std::unique_ptr

Shafik Yaghmour via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Fri Mar 20 11:23:27 PDT 2020


shafik added inline comments.


================
Comment at: lldb/source/Plugins/Language/CPlusPlus/CPlusPlusLanguage.cpp:618
+      "unique_ptr synthetic children",
+      ConstString("^(std::__[[:alnum:]]+::)unique_ptr<.+>(( )?&)?$"),
+      stl_synth_flags, true);
----------------
vsk wrote:
> Does this need to match for rvalue refs, like ‘unique_ptr<blah> &&’?
I tried this out and apparently not.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D76476/new/

https://reviews.llvm.org/D76476





More information about the lldb-commits mailing list