[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 02:05:23 PDT 2023


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

Handle `operator` preceded by `return` or `co-return`.


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.536145.patch
Type: text/x-patch
Size: 10480 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230630/316f4594/attachment-0001.bin>


More information about the cfe-commits mailing list