| Issue |
76314
|
| Summary |
[clang-format] Attributes forces any variable template to indent incorrectly
|
| Labels |
clang-format
|
| Assignees |
|
| Reporter |
XDeme
|
The code:
```cpp
[[maybe_unused]]
int a;
[[maybe_unused]]
foo<int> b;
```
is formatted to:
```cpp
[[maybe_unused]]
int a;
[[maybe_unused]]
foo<int>
b;
```
any variable template is indented like this, making it inconsistent with non-templated variable definitions.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs