[llvm-bugs] [Bug 27025] New: Clang-format does not handle class keyword in objective-c code
via llvm-bugs
llvm-bugs at lists.llvm.org
Tue Mar 22 03:03:00 PDT 2016
https://llvm.org/bugs/show_bug.cgi?id=27025
Bug ID: 27025
Summary: Clang-format does not handle class keyword in
objective-c code
Product: clang
Version: 3.8
Hardware: Macintosh
OS: All
Status: NEW
Severity: normal
Priority: P
Component: Formatter
Assignee: unassignedclangbugs at nondot.org
Reporter: richardh at uber.com
CC: djasper at google.com, klimek at google.com,
llvm-bugs at lists.llvm.org
Classification: Unclassified
Created attachment 16068
--> https://llvm.org/bugs/attachment.cgi?id=16068&action=edit
Test case
When formatting objective-c code with method parameters named class, the
formatter starts misbehaving, presumably because it is formatting them as c++
classes? The attached test case ends up as:
- (void)functionWithClassParameter:(Class) class {
}
- (void)hereIsAnotherFunction : (UIView *)parameter {
}
--
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/20160322/9bd2f9c1/attachment.html>
More information about the llvm-bugs
mailing list