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

            Bug ID: 38596
           Summary: [Formatter/ObjC] Incorrect spaces when a element of an
                    array literal is a method expression and a receiver is
                    an array element
           Product: clang
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Formatter
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected]

Correct:
aaaa = [bbbb[0] cccc];

Correct:
aaaa = @[ [bbbb cccc] ];

But clang-format fails when above constructions are combined:
aaaa = @ [[bbbb [0] cccc]];

Should be:
aaaa = @[ [bbbb[0] cccc] ];

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to