[PATCH] D53072: [clang-format] Introduce the flag which allows not to shrink lines

Ivan Donchevskii via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jan 7 04:42:13 PST 2019


yvvan added a comment.

In D53072#1348033 <https://reviews.llvm.org/D53072#1348033>, @djasper wrote:

>   $ cat /tmp/test.cc
>   int foo(int a,
>              int b) {
>         f();
>     }
>   
>   $ clang-format -style="{ColumnLimit: 0}" /tmp/test.cc
>   int foo(int a,
>           int b) {
>     f();
>   }
>   
>
> Is this not what you want? If so, in what way?


Ok, this might mean that my test is bad and does not test what I want (there are more cases which are not formatted the way I want with ColumnLimit: 0). But since the patch is never to be submitted I don't see a reason to improve it.


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

https://reviews.llvm.org/D53072





More information about the cfe-commits mailing list