Issue 130894
Summary [clang-format] `BreakAfterAttributes` doesn't work for user-defined conversion functions
Labels clang-format
Assignees
Reporter Eisenwave
    https://godbolt.org/z/a5GGK51f9
```cpp
struct awoo {
    [[nodiscard]] operator bool();
    [[nodiscard]] bool f();
};
```
Given `-style="{BreakAfterAttributes: Always}"`, this code is formatted like:
```cpp
struct awoo {
  [[nodiscard]] operator bool();
 [[nodiscard]]
  bool f();
};
```
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to