<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=http://email.email.llvm.org/c/eJylVMFy4yAM_Rr7ookHgxMnBx-azWTaX9gbxkpMi00GcLr9-xWQNtmd6V52BjsCPZ6eLCm9HT66Z13wHwU7FOxJetAzBB0M0hm8wCivCMrI-RwdV3Re2xlqUbHojyavWFVDGBG09wvCYNHDbAPgL-1DlXnz-xldRIGESc96koYwcrpQLHFDFBuWlyr4Pq50SvG9h6O1ULS3IyA5IT7oTlIRwf4xEERwJBVP0eDbBE5AvgM6vd-MlNlF1uExAG1vnF_Gg5q9dH-rsct3agic1UQjq7GPau4323123KR8IyESTFLPxJUo7jrkEiyc4pcSB8i51wT5UnRD9FE9IbKePxD3UJ-1eIz8UvCWOkLPyiwDDqADjFTVmMQYwsXHNPmR1lmHcekrZSfa_Hy3dVR7TJ20Olk3ybD6qsHK4cXZYVGBmqscOjHsxE6WpHS0rsuXy8WZ7h8hjLl-_qyI7BVVoG1qSU_GWtStKMdus5W8bhpVsx63rcJa1o1qWNPIQfG13JVG9mh8V6yp_fiM77mryS7Wh_L_FeiOM85ZXQu2W29EXQnR8tNaiKZttii2m6JhSKU1VeSprDuXrkuU_XL25DQ0VP7upFbU5xkxCSaFaXS7x8-cW_3iMGga4qt0WvYGYZYTdfyG3Udow4DG31s6f9PzQB0Kb_jxbt0AkrZqJE4a7cyayOgfQdnZB0eVsw4GNHiWqYYp6y6l_BtdT1I1>53173</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
clang-format interpreting variable name `interface` as some kind of keyword and changes formatting in constructor delegation
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
Zwo1in
</td>
</tr>
</table>
<pre>
Hi,
as in title, I have clang in version 13.0, on 12.0.1 the issue does not exist.
Here is a minimal example:
```c++
class Foo {
int interface;
Foo::Foo(int iface) : interface { iface } {
}
}
class Bar {
int outerface;
Bar::Bar(int oface) : outerface{oface} {}
}
int main() {
auto foo = Foo(1);
auto bar = Bar(1);
}
```
I've included it here: https://github.com/Zwo1in/clang-format-interface-reproduction
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJx9U8GSoyAQ_Rq9dMVCiDoePEw2lZr5hb2hdiI7KCnAZOfvt4FMkt2q2SrUhn68ftiP3oyf3ZvK-I-M7TP2Kh2oBbzyGmkN3mGSF4RBy-UUEhe0TpkFSlGwkA8hL1hRgp8QlHMrwmjQwWI84G_lfJF40_sNbUCBhFktapaaMHI-Uy1xQ2Q1S2PI-C6MuEr1nYODMZA1tyUgOT48aI9yIILdcyEI4EAqXkPAXyI4AnkLtPrYGShTiqL9cwGa3jjvwZOanbT_qjHrd2oInNSEIKkxz2oeO5tdStykfCMhEMxSLcQVKR465OoNHMOfEntIZy8Jcld0Q_RBPSGSnr8Qj1JfvXiu_J7xhhyhlkGvI46gPEzU1XCIyfuzC8fkBxon5ae1LwYz0-Tn1ZRB7SE6aXM0dpZ-c-_BxuLZmnEdPJkrHzsxtqKVebRh97wlte1s0Ssy5EVaJXuNsMiZulezhx1qBmRlZ2j9Qy0j_W34wM-rsSNImg4TcZJNE2skI3cPZnHekgpjYUSNJxn1rFZ3_zmb1pevz4ZO8QsHT9N4FxwFlSgbkU-dHLfb-oiiqQRnrG2bhg89azlizRrcVrmWPWrXZRX5ni94TdeJ4qza56rjjHNWloK1VS3KQoiGHyshts32BcVLnW0ZkiN0EXQUxp5y20VJ_XpylNR0F90jSQ5WpwUxliN-MsVkbJf6lMfKXVT-BzvbPFE">