[PATCH] D134042: [clang-format] Fix alignment in #else preprocessor blocks

Björn Schäpers via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat Sep 17 06:12:57 PDT 2022


HazardyKnusperkeks accepted this revision.
HazardyKnusperkeks added a comment.
This revision is now accepted and ready to land.

Looks good, please wait for other reviewers.



================
Comment at: clang/unittests/Format/FormatTest.cpp:5747
+TEST_F(FormatTest, FormatAlignInsidePreprocessorElseBlock) {
+  FormatStyle Style = getLLVMStyleWithColumns(40);
+  Style.AlignConsecutiveAssignments.Enabled = true;
----------------
Why limit the columns?


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

https://reviews.llvm.org/D134042



More information about the cfe-commits mailing list