Issue 54730
Summary [clang-format] qualifier alignment setting is not respected on references to template type parameter
Labels new issue
Assignees
Reporter alimpfard
    Given the following .clang-format:
```yaml
---
Language: Cpp
QualifierAlignment: Right
```

the following snipped is not formatted correctly (it remains unchanged)
```c++
template <typename T> using Foo = const volatile T;
```

however the following does get replaced with the qualifiers moving to the right:
```c++
template <typename T> using Foo = const volatile int;
// turns into:
// template <typename T> using Foo = int const volatile;
```
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to