| Issue |
58102
|
| Summary |
[clang-format] Add an option to configure C++ attributes
|
| Labels |
clang-format,
new-feature
|
| Assignees |
|
| Reporter |
cjdb
|
When there are too many attributes, functions tend to get formatted like this:
```cpp
[[attr1, attr2, attr3, attr4]] __keyword_attr constexpr void
f(args...);
```
It'd be nice if this were configurable, so that we could also have
```cpp
// option 1
[[attr1, attr2, attr3, attr4]] __keyword_attr
constexpr void f(args...);
// option 2
[[attr1, attr2, attr3, attr4]]
__keyword_attr constexpr void f(args...);
```
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs