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

    <tr>
        <th>Summary</th>
        <td>
            Add IgnoreMacros option to readability-function-size
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
      </td>
    </tr>

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

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

<pre>
    Add `IgnoreMacros` option to `readability-function-size` check to mimic the same in `readability-function-cognitive-complexity`.

Counting the function size with expanded macros will make it more likely to break limits. Whereas macros are more like function calls regarding the readability.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJx0kT-P4yAQxT8NblAsjP_ELihyt7J0xdVXDzCx5wLGApzd3Kc_ObtR0mwDxbw3741-kBJNC6Ji7Q_WvhWw5TlEBRa8BrtFKHSwN3WylrNO_JqWEPE3mBgS6wQPa6aw8Bz2YUSwoMlRvh3O22L20SHRP9yVZkZz2YWePBmeZ-QJPHJavrWaMC2U6YoHE_zq8IPyjXWiZOKNidPn-zNsS6Zlui98OPkeyt8pzxw_VlgsWu7vnfk7Occ9XJBT5j5E5I4u6G57Mx0RLtyRp5xK_mfGiJAeRoj41D-TDDiXeMQJon3UeDmmLKyq7VAPUKCqjnKQshm6tpjVWfRHrDpdt7qVTQ-2bY9Vc-7OjewGM8iClBSyqUTVi6bqRFuC7sVRdDhYvS-0rBHogVzp3NWXIU4FpbShqirZ123hQKNLD6xR7aqD3qbEGuEo5fT0ZcoO74hf-b7A_ZZssUWn5pzXxOoTkyOT40R53nRpgmdy3CO-vsMaw180mcnx3jMxOX5VvSr5PwAA__8e-ttT">