[llvm-bugs] [Bug 38596] New: [Formatter/ObjC] Incorrect spaces when a element of an array literal is a method expression and a receiver is an array element
via llvm-bugs
llvm-bugs at lists.llvm.org
Thu Aug 16 02:53:51 PDT 2018
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: unassignedclangbugs at nondot.org
Reporter: jolesiak at google.com
CC: djasper at google.com, klimek at google.com,
llvm-bugs at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20180816/67527d8c/attachment.html>
More information about the llvm-bugs
mailing list