Closed zizicici closed 9 years ago
Hi @beimen — you need to report bugs with the way code is formatted directly to the Clang/LLVM bug tracker — the developers of the clang-format tool (not this Xcode plugin) do not read the issues here.
@tonyarnold , Thanks.
I just noticed your bug got dup'd to mine for this issue. I have a patch for clang-format which works, but isn't merged in yet. Would be good to get any input on it. It also fixes 18426, a bug you logged @tonyarnold. I'm working on convincing him that Xcode style block formatting is worth supporting in clang-format. So thanks for logging the bug @beimen -- it helps!
Also, if you have any opinions config file switch names that'd be great too. I'm terrible at naming some times.
I hit the same resistance when submitting previous patches, @KingOfBrian — thanks for seeing it out. I'm very keen to see your patch merged — I don't want Google formatting inside my blocks! Why would I want anything other than what I'd already defined for non-closure code? :P
clang.format:
if code style is like:
after clang.format:
if code style is like:
after clang.format: