Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No format in blocks #58

Open
Morrowind1983 opened this issue Oct 10, 2014 · 3 comments
Open

No format in blocks #58

Morrowind1983 opened this issue Oct 10, 2014 · 3 comments

Comments

@Morrowind1983
Copy link

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

@samnm
Copy link

samnm commented Feb 11, 2015

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.

@KingOfBrian
Copy link

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

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

@KingOfBrian
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants