[PATCH] D77039: [clang-format] Don't break multi block parameters on ObjCBreakBeforeNestedBlockParam

Kanglei Fang via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Apr 7 10:50:43 PDT 2020


ghvg1313 added a comment.

In D77039#1967224 <https://reviews.llvm.org/D77039#1967224>, @MyDeveloperDay wrote:

> what is changing in clang/docs/ClangFormatStyleOptions.rst? if nothing then remove from the diff


there's an indentation issue, this changes the example of the doc from:

  - (void)_aMethod
       {
          [self.test1 t:self
                       w:self
              callback:^(typeof(self) self, NSNumber *u, NSNumber *v) {
                  u = c;
               }]
  }

to

  - (void)_aMethod
  {
     [self.test1 t:self
                 w:self
          callback:^(typeof(self) self, NSNumber *u, NSNumber *v) {
              u = c;
          }]
  }


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D77039





More information about the cfe-commits mailing list