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

    <tr>
        <th>Summary</th>
        <td>
            SystemHeaders cannot be specified in config file on global level
        </td>
    </tr>

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

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

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

<pre>
    Problem:
```
SystemHeaders: true
^~~~~~~~~~~~~
Error: invalid configuration specified.
Invalid argument

```

This is because SystemHeaders is not listed in `MappingTraits<ClangTidyOptions>`.
Misleading documentation entry were introduced by this change: https://reviews.llvm.org/D141144

Option A)
- Implement support for SystemHeaders (may change some behavior for some checks that use getOptionForFile)
- Most probably wouldn't do any visible harm
Option B)
- Remove entry from documentation.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxsk09vpDgQxT-NuZS6BeZP4MChkw7aSBtttMlpbwZXQ-0YG9mmIy7z2UcGlHSPBiEQRcn1e8_PwjnqNWLN8keWnyMx-8HY-o2Mt_-9_x21Ri71mzWtwpGlJxafWXxiRbzf6-f74jyOf6GQaB1LT-DtjHtn_vzz5tqKz9YaG_pIX4UiCZ3RF-pnKzwZDW7Cji6E8ri1v-xdwvbziNrvK_-JZHt-DOSAHLTYidkh3PGFH9p4UOQ8SiANrIhfxTSR7j-sIO9Y-vSkhO4_SC7_TAHJsfSZFfHO80pOoZCke5CmW5E2cNTeLvCJFoG0t0bOHUpoF_ABqBuE7jHIHryfgk-MN4w3Fq-En-6o1HU8Gtsz3pyTLEmy7FbTBgInxqutcICXcVIYpoObp8lYDxdjfxPLeDmKZZ8NzowILQ7iSsau3WulG7D74cAPwkPwq0e_jWuMbUjhzcxX4zxM1rSiVQt8mllJzfiDB2lA6AWu5KhVCIOw4x34480i_-JorrjbdbFmvPfxGMk6lVVaiQjrpCjTpHqoEh4NdVeWVYlZkqZlXIjkIlMuZVKUSZIXeZnLiGoe8zTO4yyJ8zLlxy4XIi94liYVpomoWBbjKEh9uR2RczPWBc-zh0iJFpVbjwLn7dwzzhl_Ypzf8X1Vu5CSgye5hFJ-jmwdlj20c-9YFoeEfW9r5MkrrO-3pxM6ZLHF79CHRG7nAS6kEIyGXplWKFB4RRXNVtX3AerJD3N77MzIeBPG7a_DZM3_2HnGm1WkY7xZdf4KAAD__whJSe4">