<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/54730>54730</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[clang-format] qualifier alignment setting is not respected on references to template type parameter
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
alimpfard
</td>
</tr>
</table>
<pre>
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;
```
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJytUsuu2yAQ_Rq8QYkIju144UVy09tNN636A9ge21QYKOBE-fsOOFF0c6Wqi0rInhdzzhymNf2t-SovoGmYgA5GKXOVeqTbTgk9bgbjZhFIfiTsTNiRlGw9NzGrNbTZbFbjG9YvYgQspm_WrsHvi1BykOCOSo56Bh170R9ynMJLx7ubvh-peC2thZ5KT7UJdKUUMNAZ56AL6kYJP8hAHcxCak8X3U1IBnrC6xeUjvBTPCsMzFaJAJTkb-FmQYsZ6E-Sf6GLj8DvxmDqjDjaB3oxWCtVqjj9hfxkrnAB96Jnb8DTESJJxOyQ_VWGKRX9fmjk6WwusTiYlHBJpk_a_48ZZHyIxxT8HQ8Ni0PtMGGekPfMP2Lg3Recz0plfZP3dV6LLMigoCHF6cOmFeenHlQ8loZ6CCFC3XfAgbf48qii0egM4EB3KHAU7kE2MqVWOCQbwGWLU80UgvVxujTXiA-wtNvOzOgodXn8NtaZX9gdXen9Ah6NYl_lLJuafMfLouwFOwyiLaq2LMuq7ot9nXNo85ZlSrSgfByLcK7hSlMLtHGyTDaccc72LN_VrN5V27LuKn4Qu6EuWqiGkuxZ3GG1jTy2xo2ZaxKldhk9JpX0wT-TwnsUCJKKsb9YwmRcg7LNdhCuzxJ4k8j_Ab-lPbU">