[PATCH] clang-format: Support @autoreleasepool.

strager strager.nds at gmail.com
Mon Jun 22 15:38:42 PDT 2015


> The case body is mostly the same as for case tok::objc_synchronized – could they share the same code? (the paren code would just never run for autoreleasepool)


The same could be said for `while` and maybe `if` and `for`, too.

Testing `@autoreleasepool (foo) {` and not testing `@autoreleasepool {` doesn't make sense anyway.


http://reviews.llvm.org/D10372

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the cfe-commits mailing list