<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/92118>92118</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
Thread-safety diagnostic uses wrong capability name for negative requirements
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
apasel422
</td>
</tr>
</table>
<pre>
Example: https://godbolt.org/z/hEdfTWYPK
Note that the output from the positive requirement correctly labels the capability as `xyz` while the output from the negative requirement incorrectly labels the capability as `mutex`.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyMkT2P3CwQxz8NbtCuAGOvXVDsozs3jxSlOClKOTZjmwgbB4bb9X36aH2REiVXpAEh4Df_F0jJTSuiYdV_rHoqINMcooENEnqtVNEHu5vnOyybR1Ze-Uy0JVZemeqY6qZg--DpHOLEVPfGVDc_2_Hly9fP_zPxxMT1ff0UCDnNQJxm5CHTlomPMSzHeQvJkXtFHvF7dhEXXIkPIUYcyO_cQ48-HS8H2KB33tHOIXFWi_v-xmrBb7Pz-CF7xQn-Yrv13-hLJryzWpwLa0rbli0UaORFVnWrSymL2TS1FaJu7KBtM471RZWVqi4joC4tWLCFM0ooLSqpZakrKc9SKGxkc2kFtKUea6YFLuD82fvX5ZFj4VLKaFolZVO8qzvKUWrFGz8umVKPrqJ5_Dn1eUpMC-8SpV8UcuTRvMwRwZ4SjEg7tw6mNSRyA88JE7_FsE6_215hQT6G-GFsqcjRmz_6dzTn_jyEhanuMfvndtpi-IYDMdUdihNT3eHoRwAAAP__6iLR2Q">