<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/54319>54319</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
Opting out of a check should also opt out of its aliases
</td>
</tr>
<tr>
<th>Labels</th>
<td>
enhancement,
clang-tidy
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
cjdb
</td>
</tr>
</table>
<pre>
It's fairly annoying to need to write something like this:
```
// NOLINT(modernize-avoid-c-arrays,cppcoreguidelines-avoid-c-arrays,hicpp-avoid-c-arrays)
```
or this
```yaml
Checks: '
-modernize-avoid-c-arrays,
-cppcoreguidelines-avoid-c-arrays,
-hicpp-avoid-c-arrays
'
```
Instead, it would be nice if aliases weren't just for opting in, but also opting out.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyNUttu2zAM_Rr7hXAgy7nUD37oWgQIMLQv-wFZYmymshRIcgPv60c7TYatxTBAACUe8vBQZOvN1BxSJncRjoqCnUA55ydyHSQPDtHM9hIoIUQ_YOpnyNIbAl9jVj1m4jkTj9lWfJzrU-75wMvr98PLj0w-DN5gcPQTC_XuyRS6UCGoKWbySZ_P2gfsRjJoyWH8HNITB31y119W9uEq7E9sUoO9up561G-zbuCmry6A4h_67jH_IfQe-6XiD_Be9y_lBxcTKsM0QAkufrQGWgRHGoGOoCypiBEuGNAxR4LTGBMcuWF_TvNUyM257Zg4Nvqb149plZumMnVVqzxRsti83iHwzAx6_hSI_VLzlnyDKcVb8XwMtulTOi-DX2bcUerHdqX9wA9r32-mOAd_Qs2rtacYR-Tv2W_WVVnnfSNFteXNElKjQlGL8qF8ONab9Rp1W-HO5Fa1aGOTbb5lUqLrldM4oGMyObfIRlvluiKRmWbf5jknZpVMXAqx4zKbVat2pSqPW1lWlZAosrXAQZFdzepWPnR5aBah7dhFBi3FFH-DKkbqeP8XEcyvxtT70OiTafOloWbp5heW_giA">