[PATCH] D50078: clang-format: support aligned nested conditionals formatting

Steven Johnson via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu May 21 16:49:05 PDT 2020


srj added a comment.

I think the new formatting is unquestionably better than the old formatting.

But...

This change means that the output from clang-format-11 can't be made compatible with older versions of clang-format, which is also unfortunate.

IMHO it should be a goal to have "breaking" format changes like this always be opt-in via a new setting (or a new option for an existing setting).


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D50078





More information about the cfe-commits mailing list