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

    <tr>
        <th>Summary</th>
        <td>
            `AllowedPad` option for `optin.performance.Padding` static analyzer check is not documented
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            new issue
      </td>
    </tr>

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

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

<pre>
    The `optin.performance.Padding` check has the option `AllowedPad` which allows to set a threshold for the warning to be reported:
https://github.com/llvm/llvm-project/blob/21361bb8605fd26a06312d80b9fb20a8b41c58ed/clang/include/clang/StaticAnalyzer/Checkers/Checkers.td#L894-L900

But there is no mention of the option in the documentation:
https://clang.llvm.org/docs/analyzer/checkers.html#optin-performance-padding

I guess there's several more undocumented options.

And in case they are documented it is done rather awkward:
https://clang.llvm.org/docs/analyzer/checkers.html#core-bitwiseshift-c-c
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyck81u3CAUhZ8Gb9BYGPy78GLSyFKlLCK1L8DPtaFhYAQ4Vvr0Fc5MY6mKqnYzY_AFf-eee3iMZnEAI2oeUPNY8DVpH8bZBNj4KxTCq7fxuwaMWuKvybjyCmH24cKdhPKZK2XcglqCpQb5gjWPOGnAudS7fOhsrd9APXOVqzZtpMY870WcPI6QMMdJB4jaW4VnH_bzGw_OuCWXCMABrj4kUIidEXlE5KxTusa8ohOi02KSXkUp_QXRydrX-9_pGvwPkAnRSVgvEJ1oxdpKiL4lzaxoy0nLKqp6IoZZUMJ7UVey6UEhOknL3YLoZJy0q4LDzrfEk5Fnx-3bTwiITl-ydAjx8FgmhSh76of69DQQ8k79_vuwpiwxADYRO48v4PZe-fnYOeP2lfJyzQU8b34if-cqs-DShwyovMws_INQ3rF0ulhE2e7k6eDk6Xpz8gD6FS8rxPgOi2gXcYRXCNziiw-AV3eHA3WjjuXx_NmpLEPyCPmON8zDhyBQ2KTcAeUd4MDzRzDfXjYePrP5P3RKH-AkTNpMhKjNnE7yJAs1MjWwgRcwVh2pqoHVXVPosWmadmiGWcq-o6wjird9TwUbVEX7upkLM1JCWVXRvurqmtWlmEk_dF1HqxlEXzNUE7hwY39TFibGFcaOtV1TWC7Axj1plDrY8P4SUZqDF8Z9ZMW6RFQTa2KKH7ckkyyMf6TpNis5NH-LZ9yHFt97dYvrPoHpYEqxBjv-c7p2HdmKXeevAAAA___uX22R">