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

Owen Pan via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Aug 17 00:29:58 PDT 2023


owenpan updated this revision to Diff 551019.
owenpan added a comment.

Rebased to D158104 <https://reviews.llvm.org/D158104> and simplified `getFunctionName` and `isCtorOrDtorName` a little.


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

https://reviews.llvm.org/D157963

Files:
  clang/lib/Format/TokenAnnotator.cpp
  clang/unittests/Format/FormatTest.cpp
  clang/unittests/Format/TokenAnnotatorTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D157963.551019.patch
Type: text/x-patch
Size: 12209 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230817/3d437c00/attachment-0001.bin>


More information about the cfe-commits mailing list