[Lldb-commits] [PATCH] D136306: [lldb][CPlusPlus] Add abi_tag support to the CPlusPlusNameParser

Adrian Prantl via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Thu Oct 20 13:55:20 PDT 2022


aprantl accepted this revision.
aprantl added a comment.
This revision is now accepted and ready to land.

As much as I dislike expanding our hand-rolled parser, this does seem small and important enough to warrant doing it!



================
Comment at: lldb/source/Plugins/Language/CPlusPlus/CPlusPlusNameParser.cpp:260
+  Bookmark start_position = SetBookmark();
+  if (!ConsumeToken(tok::l_square)) {
+    return false;
----------------
nit: the function is inconsistent about whether to use curly braces on single statements. LLVM style says don't.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D136306



More information about the lldb-commits mailing list