[PATCH] D32478: [clang-format] Fix AlignOperands when BreakBeforeBinaryOperators is set

Francois Ferrand via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jul 12 09:33:01 PDT 2017


Typz added a comment.

I renamed the option to `AlignAfterOperator`, is it acceptable now?
(I also thought of `UnindentOperator`, but I think it is better to keep the notion of alignment)

Note that this style is used in multiple open-source projects: Skia <https://skia.org/>, parts of QtCreator <https://doc-snapshots.qt.io/qtcreator-extending/coding-style.html> code base (e.g. in multiple plugins: clang, cpptools, android...), the OpenEXR <https://github.com/openexr/openexr> library...


https://reviews.llvm.org/D32478





More information about the cfe-commits mailing list