Issue 136675
Summary clang-format regression on attribute macros
Labels bug, c++, clang-format, regression
Assignees
Reporter kadircet
    command: `clang-format -style='{PointerAlignment: Left, AttributeMacros: [my_fancy_attribute_macro]}' a.cc`

expected:
```cpp
SomeLongTypeName* my_fancy_attribute_macro const
    some_name;  // Long comment about some_name.
```

actual:
```cpp
SomeLongTypeName*
 my_fancy_attribute_macro const some_name; // Long comment about some_name.
```
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to