ClangFormat-Xcode icon indicating copy to clipboard operation
ClangFormat-Xcode copied to clipboard

No format in blocks

Open Morrowind1983 opened this issue 11 years ago • 3 comments

[sendOperation start:^(NSError* error) { if(error) {//this code won't be formatted on save } else { } }];

Morrowind1983 avatar Oct 10 '14 02:10 Morrowind1983

This seems to only happen when ColumnLimit is set to 0. It's still happening in the latest version of clang-format so it is independent of ClangFormat-Xcode.

samnm avatar Feb 11 '15 21:02 samnm

I've logged a bug with clang-format for this:

https://llvm.org/bugs/show_bug.cgi?id=23315

KingOfBrian avatar Apr 22 '15 17:04 KingOfBrian

Hey @Morrowind1983 -- if you update your system clang format, this issue should be resolved.

KingOfBrian avatar May 12 '15 17:05 KingOfBrian