http://llvm.org/bugs/show_bug.cgi?id=19511

            Bug ID: 19511
           Summary: clang-format Allman style BreakBeforeBraces fails to
                    break after Objective-C @interface
           Product: new-bugs
           Version: trunk
          Hardware: Macintosh
                OS: MacOS X
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    Classification: Unclassified

Basically, clang-format (svn trunk r206916, i.e. today) transforms this:

------------
@interface BSApplicationController ()
{
@private
    id _extraIvar;
}
@end
------------

into this:

------------
@interface BSApplicationController () {
@private
    id _extraIvar;
}
@end
------------

Note the '{' has been moved despite me specifying Allman style for the
BreakBeforeBraces option.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to