[llvm-bugs] [Bug 38719] New: [Formatter/ObjC] Break before a label instead of breaking before colon in method declaration/definition

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Aug 27 04:16:51 PDT 2018


https://bugs.llvm.org/show_bug.cgi?id=38719

            Bug ID: 38719
           Summary: [Formatter/ObjC] Break before a label instead of
                    breaking before colon in method declaration/definition
           Product: clang
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Formatter
          Assignee: unassignedclangbugs at nondot.org
          Reporter: jolesiak at google.com
                CC: djasper at google.com, klimek at google.com,
                    llvm-bugs at lists.llvm.org

Current formatting:
- (aaaaaaaaaa)
      bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb:(int)ccccccccccccccccccccccccc
          bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb:(int)ccccccccccccccccccccccccc
    bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb:(int)ccccccccccccccccccccc;

- (aaaaaaaaaa)
      bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb:(int)ccccccccccccccccccccccccc
    bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb:(int)cccccccccccccccccccccc;

- (aaaaaaaaaa)bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb:
    (int)ccccccccccccccccccccccccc;

Make the case with only one parameter consistent with other cases by formatting
in the following way:
- (aaaaaaaaaa)
    bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb:(int)ccccccccccccccccccccccccc;

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20180827/a25a3949/attachment.html>


More information about the llvm-bugs mailing list