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: unassignedclangb...@nondot.org
          Reporter: joles...@google.com
                CC: djas...@google.com, kli...@google.com,
                    llvm-bugs@lists.llvm.org

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
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to