[llvm-bugs] [Bug 24381] New: Objc: clang-format incorrectly formats class declaration parameterized with lightweight generics

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Aug 6 11:08:32 PDT 2015


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

            Bug ID: 24381
           Summary: Objc: clang-format incorrectly formats class
                    declaration parameterized with lightweight generics
           Product: clang
           Version: unspecified
          Hardware: Macintosh
                OS: MacOS X
            Status: NEW
          Severity: normal
          Priority: P
         Component: Formatter
          Assignee: unassignedclangbugs at nondot.org
          Reporter: evergreenthrowaway at gmail.com
                CC: djasper at google.com, klimek at google.com,
                    llvm-bugs at lists.llvm.org
    Classification: Unclassified

INPUT
echo "@interface MyClass<KeyType:id<NSCopying>>@end" | clang-format

OUTPUT
@interface MyClass < KeyType : id <NSCopying>
> @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/20150806/f307cbaf/attachment.html>


More information about the llvm-bugs mailing list