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

    <tr>
        <th>Summary</th>
        <td>
            [clang-tidy] clang-analyzer-* checks should be disabled by default
        </td>
    </tr>

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

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

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

<pre>
    Currently, `clang-analyzer-*` checks are enabled by default. They are not special compared to other checks, so I see no reason why they should have special treatment. They are also heavier than most regular checks so there's a hidden performance penalty by default.

Also, it leads to clang-tidy running silently when no checks are requested. It's better to fail early and tell people that they must explicitly request checks of their choice for clang-tidy to work. Otherwise people may think they have enabled checks, but they haven't.




</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJxkk8-OozwQxJ_GXFqJwARIDhzyzSjSnL7LvkBjN-AdY7N2kyzz9CvnzyTalZA4mK5fV7nAGM3giFpR_Seq9wwXHn1oFQbr44D2TF9z1nm9tm9LCOTYrkK-gahzZdENG3Ro1y8KGyGPos5BjaQ-I2AgIIedJQ3dCpp6XCxv4cdI6_XQeYY4kzJoQflpxkAa2IPnkcJdJYGihw-IlAYgEEbv4DKuwEknjn6xGkY807cWB0KeyL2y0EYPI-HZUAAe0cHkI0OgYbH4gCVSYpOQTQSE0WhNDmYKvQ8TOkUwk0PL66shkR9Ffjza6NOyhsES6piM3OJho1cIi3PGDRCNvQYIl5FcMvQSVqBfC0UmvYUPvq7QEXPa10OPxgJhsCug08BkLczkZ0vJDd_CmJbIQL9na5RJjLvgg-H79JlJbr1RBL0Pryuyh4sPn1v4P2VwMZEehAlT2sZ93jDXsB83-7ymbuHnuROyeURzezLdlvpQHjCjtmiqoqzqspLZ2Ba9lmp3qOuyqNSh2-XFnvYF1fu6Vtj0KjOtzGWVN3mRN5Us5VZr1GV1qJqq6PdNocUupwmN3Vp7nrY-DJmJcaG22NW7vcwsdmTjtd1SPg0LKVPbQ5umNt0yRLHLrYkcnzps2F7_i5ex6h3-7f13g2597Ai0iX93P1uCbUfmOYryKORJyNNgeFy6rfKTkKeEvb82c_A_SbGQp6uXKOTpbufcyj8BAAD__6z3Q-Q">