<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/56696>56696</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
clang-format crashes with "QualifierAlignment: Left" on "const volatile" method declarations
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
AMoe-LACOS
</td>
</tr>
</table>
<pre>
Minimal example source file to reproduce the issue
`class Queue
{
bool empty() volatile const
{
return true;
}
};
`
[crash_example.zip](https://github.com/llvm/llvm-project/files/9178323/crash_example.zip)
[configuration.zip](https://github.com/llvm/llvm-project/files/9178334/configuration.zip)
clang-format version 14.0.6 (Windows 64bit)
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJytU0uPmzAQ_jVwsYKMwQYOPiQb7WlX1aqHHisDA7gyOPIj6fbXd2Cz2aZ7qlQLMbbHfI8Z09r-VT7rRc_KEPip5pMB4m10HZBB4zxY4uDkbB9xJ0xAtPcREnpM6P76FrQzynvyEuGWqQ5vE4KjtRax51N4TVidsIacrVFhBe_s4sPHwbuv1uEgRLeQ4BC3OPx58PjOc7wlUMedLH7onPLT96ur7Jc-JfyIEqYQTj4p9gl7xGfUYYpt1tkZF8ac38MOTf-ALuByLYTH2ORVXbACZ5-RWfM3uV0GPUaHTu3yv8iLciX_hHxPjt1Yxt1g3awCOYPzeIzkZUYzQVDBN7309uKJKFuNBE0KMhe8rljNcNHLom-KRqVBBwPyDmtzDZ5cUDUisZeojB40uL3R4zLDEtAYeYIBYRlBUgxbi28dX_dnCJPtSQ-I_ebBp9EZ-c-V2W7iWhouRCPSSfYd5XVZUspzDiUdRK8qViiRq0bkDR9So1owXmJ3UMgCl-tlZgx7k2rJKGO0YpxyTlmdlaIqatHlRUkB6gYSjLPSJlt1ZNaNqZObpDaOHpNG--A_kvhLYFUANjrEVxF9O7l_trB72j98-Zpu7HJT_xtbQBe0">