[clang-format] qualifier alignment setting is not respected on references to template type parameter #54730
Closed
Description
Given the following .clang-format (and clang-format 14.0.0)
---
Language: Cpp
QualifierAlignment: Rightthe following snippet is not formatted correctly (it remains unchanged)
template <typename T> using Foo = const volatile T;however the following does get replaced with the qualifiers moving to the right:
template <typename T> using Foo = const volatile int;
// turns into:
// template <typename T> using Foo = int const volatile;
Activity