[PATCH] D112019: [clang-format] [PR51412] AlignConsecutiveMacros fights with Visual Studio and resource.h

Björn Schäpers via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun Mar 13 12:52:27 PDT 2022


HazardyKnusperkeks added a comment.

Why limit to macros, could it be a member of AlignConsecutiveStyle and apply to the other stuff as well?



================
Comment at: clang/include/clang/Format/Format.h:256
+  /// \endcode
+  /// \version 14
+  unsigned AlignConsecutiveMacrosMinWidth;
----------------
Version 15


================
Comment at: clang/lib/Format/Format.cpp:1154
+  LLVMStyle.AlignConsecutiveMacrosMinWidth = 0;
+  LLVMStyle.AlignConsecutiveMacrosIgnoreMax = false;
   LLVMStyle.AllowAllArgumentsOnNextLine = true;
----------------
I before M


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

https://reviews.llvm.org/D112019



More information about the cfe-commits mailing list