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: unassignedclangb...@nondot.org
          Reporter: joles...@google.com
                CC: djas...@google.com, kli...@google.com,
                    llvm-bugs@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to