跳转至

ObjCBreakBeforeNestedBlockParam

ObjCBreakBeforeNestedBlockParam (Boolean)

Info

clang-format 12

当函数调用中有嵌套的块形参时,将形参列表分成几行。

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

最后更新: 2022-10-31