[PATCH] D42787: clang-format: do not add extra indent when wrapping last parameter

Daniel Jasper via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Feb 1 04:22:09 PST 2018


djasper added a comment.

I am against this change. The current behavior here is intentional and IMO more consistent. If there is more than one precedence level in a set of parentheses, we add the additional indentation. If you don't like it, surround it with extra parentheses.

Generally, it'd be useful to have a "before" and "after" example in the patch description. That way, we can get more feedback from other people more easily.


Repository:
  rC Clang

https://reviews.llvm.org/D42787





More information about the cfe-commits mailing list