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

Paweł Bylica via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Dec 8 07:13:46 PST 2017


chfast added inline comments.


================
Comment at: cfe/trunk/docs/ClangFormatStyleOptions.rst:173
+
+      someLongFunction(argument1,
+          argument2);
----------------
I think this example is not achievable. clang-format seems to prefer putting all arguments on the next line if they all fit there. So this one will be formatted the same as the example for `AlwaysBreak`. 


Repository:
  rL LLVM

https://reviews.llvm.org/D14104





More information about the cfe-commits mailing list