[PATCH] D118924: [clang-format] Fix formatting of macro definitions with a leading comment.

Björn Schäpers via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Feb 7 06:23:18 PST 2022


HazardyKnusperkeks added inline comments.


================
Comment at: clang/lib/Format/UnwrappedLineParser.cpp:3609
+        // on line.
+        FirstNonCommentOnLine |= IsFirstOnLine(*FormatTok);
+      } else {
----------------
There it is again. ;)

The if is the same as above, isn't it?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D118924



More information about the cfe-commits mailing list