clang-format completely ruins the formatting of block literal
expressions which appear inside inside braced initializer lists. For
example:
int main() {
foo({
^() {
return nil;
}
});
}Teach clang-format to parse blocks inside braced lists:
int main() {
foo({^() {
return nil;
}});
}
Is it standard to return a value from these tryToParseFoo() methods, even if nobody uses it?
I think we should either check the return value somewhere, or make this return void.