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

Owen Pan via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Aug 16 11:36:56 PDT 2023


owenpan added inline comments.


================
Comment at: clang/lib/Format/TokenAnnotator.cpp:3103
+  if (!Next)
+    return Next;
+  if (Next->is(tok::comment))
----------------
owenpan wrote:
> 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.
See D158104.


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