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

Owen Pan via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat Jul 1 20:28:55 PDT 2023


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

Re-annotate */&/&& only if `isCpp()` is true.


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.536566.patch
Type: text/x-patch
Size: 11117 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230702/c2d09371/attachment-0001.bin>


More information about the cfe-commits mailing list