[PATCH] D157963: [clang-format] Annotate constructor/destructor names

Owen Pan via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Aug 16 01:42:24 PDT 2023


owenpan added inline comments.


================
Comment at: clang/lib/Format/TokenAnnotator.cpp:3103
+  if (!Next)
+    return Next;
+  if (Next->is(tok::comment))
----------------
HazardyKnusperkeks wrote:
> Is a bit clearer.
I moved this function up to here from below and only removed a couple of `const`s. I can clean it up in another patch.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D157963



More information about the cfe-commits mailing list