<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/54182>54182</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
Options to silence clang-diagnostic-error from clang-tidy
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
laoshaw
</td>
</tr>
</table>
<pre>
clang++ does not support g++ features as complete as g++ does these days, and clang-tidy is used for non-clang++ development for many, now in various tools clang-tidy reports errors due to clang++'s limit.
is there a way to disable those warnings when I know it is due to clang++'s limit instead of my coding error?
one example is: `error: sorry, non-type template argument of type 'double' is not yet supported [clang-diagnostic-error]`, g++11 supports double-template-argument just fine but clang++ does not, so this error message could be disabled
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJx9Us2OmzAQfhq4jIjAJCQ5cMh2FamnPoPBE_DW2MhjJ-XtOybJNiutKiEwGs_3N9M5tbS9kXbIxBs_oBwSWBeA4jw7H-BZuKAM0XNREvRumg0GTOcvjWFEQlByoUz8AGkVrNhF0GoBTRAJFVycZwZbfKHFKxo3T2jDWp-kXRKEdTfQFq7SaxcZ3zlDr5gek0gC9N55AhWR78ALcib2BEZPOmyy8j0rT_e3XrV6dgA3uaQepUl2httHxxZu0lttB4LbiBZ-wu9VSEge_sfBWimgVOAuMC2ck2KQu7isPr8KcBYB_8iUI4Nm9QmypnxcPAE57x_-bRGWmRmRr8oUuR_iGhNTrBVmVy6ydD4kfWl4C34OkAPPdm_3yJSWg3UUdF_cqXbvzJp4Hk6q6tnGPlfQ4klcfBJ_ROIhaTbQxQDfLU9CJMdR6sdkYEIiOSAnEo2CDp9xq1y1tTrWR5kHHQy2v-agnU2TBtIGbY_wvXa4eDe9rEIevWnHEOYUZibO_Aw6jLHb8LbyjzHX56eYvfvAnmWeNVFEXtbzblsdRD62qqq3Uoid2Pf7-iAVHquqr8rjobo0-1I1uZEdGmo500wIi7wVCYLPHGauW1EKUdZlLcrdcdts9lJtD02NzfbSHKpml21LnKQ2m6Rj4_yQ-3aV1MWBuGg0BfpXlER6sIgrHePLyOvJHdLRKG_5St2u0v8CFOJFLQ">