tonyarnold added a comment. I did find one bug though — if there's any parameters in between the two blocks, they'll end up forcing a newline:
objective-c @implementation SomeClass - (void)test { [sharedController passingTest:^BOOL(id application) { return application.thing; } withTimeout:kTimeout completionHandler:^(BOOL success, NSError *error) { if (success == NO && error != nil) { // Do the thing } }]; } } @end Wrongly becomes: objective-c @implementation SomeClass - (void)test { [sharedController passingTest:^BOOL(id application) { return application.thing; } withTimeout:kTimeout completionHandler:^(BOOL success, NSError *error) { if (success == NO && error != nil) { // Do the thing } }]; } } @end http://reviews.llvm.org/D17700 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits