[PATCH] D154184: [clang-format] Correctly annotate */&/&& in operator function calls

Owen Pan via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jun 30 01:21:19 PDT 2023


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

Early break if `operator` is `TT_FunctionDeclarationName`.


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

https://reviews.llvm.org/D154184

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: D154184.536139.patch
Type: text/x-patch
Size: 9611 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230630/d3d9f380/attachment.bin>


More information about the cfe-commits mailing list