https://bugs.llvm.org/show_bug.cgi?id=48716
Bug ID: 48716
Summary: clang-format misaligns the & in Java type parameter of
method
Product: clang
Version: 11.0
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: Tooling
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
See the example below. The "A & B" in the class definition is formatted
correctly, but the type parameter of the method is not.
This is quite a rare/special case, not sure if it's worth to fix it.
interface A {}
interface B {}
class Foo<T extends A & B> {
<T extends A &B> void foo(T t) {}
}
--
You are receiving this mail because:
You are on the CC list for the bug._______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs