Hi, the attached patch adds formatting for @interface. There's likely some polishing left to do, but it's a huge step up from the current behavior (putting everything in an @interface on a single line if there are no ivars). Ok to commit?
Even if you don't know Objective-C, looking at the included tests should be enough to give you an idea of what's going on. Nico
clang-format-objcinterface.patch
Description: Binary data
_______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
