[llvm-bugs] [Bug 38555] New: [clang-format/ObjC] Interface with generic base class and protocol list is misformatted
via llvm-bugs
llvm-bugs at lists.llvm.org
Tue Aug 14 01:49:12 PDT 2018
https://bugs.llvm.org/show_bug.cgi?id=38555
Bug ID: 38555
Summary: [clang-format/ObjC] Interface with generic base class
and protocol list is misformatted
Product: clang
Version: trunk
Hardware: All
OS: Linux
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
clang-format works fine without generic base class.
@interface DerivedClass : BaseClass <Protocol>
@end
However, with generic base class, correct formatting:
@interface DerivedClass : BaseClass<Generic> <Protocol>
@end
Current clang-format output:
@interface DerivedClass : BaseClass <Generic>
<Protocol>
@end
--
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/20180814/b6fd3bbc/attachment.html>
More information about the llvm-bugs
mailing list