[PATCH] D94955: [clang-format] Treat ForEachMacros as loops

Marek Kurdej via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jan 14 07:31:24 PST 2022


curdeius added inline comments.


================
Comment at: clang/unittests/Format/FormatTest.cpp:2209
+
+  FormatStyle ShortBlocks = getLLVMStyle();
+  ShortBlocks.AllowShortBlocksOnASingleLine = FormatStyle::SBS_Always;
----------------
If wanted, I might commit the new tests without ForEachMacros before we follow on this review.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D94955



More information about the cfe-commits mailing list