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

Krasimir Georgiev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Mar 21 04:32:01 PDT 2022


krasimir added a comment.

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?


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