[PATCH] D85600: [clang-format] use spaces for alignment of binary/ternary expressions with UT_AlignWithSpaces

Maximilian Fickert via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Aug 11 04:42:27 PDT 2020


fickert added inline comments.


================
Comment at: clang/lib/Format/ContinuationIndenter.cpp:1360
+      if (Style.AlignOperands == FormatStyle::OAS_AlignAfterOperator)
+        NewParenState.UnindentOperator = true;
+      // Mark indentation as alignment if the expression is aligned.
----------------
Typz wrote:
> bad indent here : should be space-indented.
Can you clarify? This is formatted with the LLVM clang-format.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D85600



More information about the cfe-commits mailing list