[PATCH] D121584: [clang-format] Correctly recognize arrays in template parameter list.

Marek Kurdej via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Mar 21 05:01:32 PDT 2022


curdeius added a comment.

In D121584#3395937 <https://reviews.llvm.org/D121584#3395937>, @krasimir wrote:

> It appears that this regressed some ObjC patterns:
>
>   % cat test.m  # before: good
>   void f() {
>     //
>     BOOL a = [b.c count] > 1;
>     int b = a;
>   }
>   % clang-format -style=google test.m  # after: bad, statements joined on the same line
>   void f() {
>     //
>     BOOL a = [b.c count] > 1; int b = a;
>   }
>   % 
>
> @curdeius could you please take a look?

Yes, will do.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D121584



More information about the cfe-commits mailing list