| Issue |
163537
|
| Summary |
Clang format `BreakAfterAttributes: Leave` does not respect multiple attributes
|
| Labels |
clang
|
| Assignees |
|
| Reporter |
duckdoom5
|
The clang format setting `BreakAfterAttributes: Leave` Does not leave the line break(s) when multiple attributes are used.
Expected formatting:
```c++
[[deprecated("Don't use this version")]]
[[nodiscard]]
bool Test() {
return true;
}
[[deprecated("Don't use this version")]]
[[nodiscard]] bool Test2() {
return true;
}
```
Actual formatting:
```c++
[[deprecated("Don't use this version")]] [[nodiscard]]
bool Test() {
return true;
}
[[deprecated("Don't use this version")]] [[nodiscard]] bool Test2() {
return true;
}
```
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs