[llvm-bugs] [Bug 48716] New: clang-format misaligns the & in Java type parameter of method
via llvm-bugs
llvm-bugs at lists.llvm.org
Mon Jan 11 09:03:22 PST 2021
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: unassignedclangbugs at nondot.org
Reporter: aclopte at gmail.com
CC: llvm-bugs at lists.llvm.org
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20210111/3234273d/attachment-0001.html>
More information about the llvm-bugs
mailing list