[PATCH] D14104: clang-format: Add an additional value to AlignAfterOpenBracket: AlwaysBreak.

Manuel Klimek via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 27 03:21:08 PDT 2015


klimek added inline comments.

================
Comment at: lib/Format/ContinuationIndenter.cpp:334
@@ +333,3 @@
+  if (Style.AlignAfterOpenBracket == FormatStyle::BAS_AlwaysBreak &&
+      Previous.is(tok::l_paren) && State.Column > getNewLineColumn(State) &&
+      (!Previous.Previous ||
----------------
Is State.Column > getNewLineColumn(State) used to check for the line break?


http://reviews.llvm.org/D14104





More information about the cfe-commits mailing list