<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/55630>55630</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            [clang-tidy] add_new_check.py misses fixit support for some checks
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            bug,
            clang-tidy
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
            LegalizeAdulthood
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          LegalizeAdulthood
      </td>
    </tr>
</table>

<pre>
    add_new_check.py has heuristics to identify if a check supports fixits or not.  The heuristics can fail when:

- The implementation for the check isn't in a filename that matches the check name, e.g. `cert-dcl21-cpp`
- The implementation inherits from a base class that implements the fixits, e.g. `bugprone-shared-ptr-array-mismatch`

Improve the heuristics to catch these cases.  If more exceptions are found, it's probably best to just add a fixed whitelist to `add_new_check.py` to account for missing fixit support in the list.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJx9UsFuozAQ_Rq4jEAEQhoOHLobRaq0x71Xxh5gusZGtmmT_fodQ9rNttJKkS1mJu-9ec-dVddWKPVs8O1Zjih_5fMVRuFhxMWRDyQ9BAuk0ATqr0A9CFgHwS_zbF3w0NOF-LIOjA05wM8R7_8uhYFekIa3EU1SPSbFKSluZ7YO0zRrnJhBBLI8zEiByxsNeZOUDwHIMHNPGo2YkPsiwCQCz_i74dhLyu-A-ZBDcigkupApqctdJueZC_-hJTOii4v0zk7M1QnPsFp4v7F9jG-E29b3ZN0yzM4azPwoHKpsDi4TzolrNpFftX4I2M6niedfcYX7128Zp2M9SmAdnm196mGyDgEvEueo2APTsFuLUVEGBfbJA0N2otNX6NCHiPWy8M0Zr_ZdUHEOFFDT1mVJn_PnUuwIKRk6rHHwAp7MsC39nnyMJEqPUHmq2ko1VSPSQEFjm9Tf2DszZIHUNalP8OWVRUz0nyAjmbfTLU-fLk63Ywizjw-nPPNvoDAuXS7txB9av75fGS_-gpJNODPwghzNua4PVZGObdPvG3UsdnulpDgehVQ7ucfi0PeiPmJfp1p0qH0UnZQl58hntJSvuyW4Vp9SasuiLIu63JVVVddl3uwOD9js60oyYFF1yb7Aid97HlXl1g2pa1eBjOu5Ge3yf5v8vmgwiDfyHzgITb_xUS06jNaqG61Y-Mu1X9rpumy7bvoHRaRL_A">