<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/150276>150276</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[clang-tidy] modernize-use-using suggests incorrect fix for typedef with comma
</td>
</tr>
<tr>
<th>Labels</th>
<td>
clang-tidy
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
gvol
</td>
</tr>
</table>
<pre>
A typedef of
typedef char const *iterator, *const_iterator;
gets fixed into
using iterator = char const *;
using const_iterator = iterator*;
when it should be
using iterator = char const *;
using const_iterator = char const *;
https://godbolt.org/z/jhhE8fov5
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJycktGOmzoQhp_G3FiJYIzDcuEL9uTwGpXBg-2VwZE9ZJt9-gqyTdpVe1MJZHk0_3wz41_n7O2CqJh8ZfJc6JVcTMpeYyiGaG6q43S7oMGJx4mVHSs7zvkjNjqd-BiXTJxB5wmTppgY_Ldd9_i3R1C83vUWKfPJf0fD_UKRP6uu2S-W_xRwJs5fAPcaz9TfCbvg2UP3IL47XLgnnl1cg-ED_gPzr8A_Zd8_R3TJTHQMega9jWaIgY4xWQb9B4P-zbn_X6Z4lazsCqOEaUWrC1RVIwW0VVvVhVOyGppGSKgaLeRwMgbakzZlUxs8VaLGwisoQZYNiKoRlayP2E5mRNSNHKt2eNGsLnHWPhxDuM4bvvA5r6gqWUJzKoIeMOT9_QHGoBd7IG9uDGDzQ1Kb6jCsNrO6DD5TftYhT2F3zi8yeeZzNJgW_4GHNW__tri8WouZMvfLGFPCkTYL8Cmmh5fePTk-xnnWxZqC-rI9T24djmOcGfRbA5_H4ZLiG47EoN-nygz6z8GuCn4EAAD__5ol6qw">