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

    <tr>
        <th>Summary</th>
        <td>
            17.0.6 misc-include-cleaner requires header providing "true"/"false"
        </td>
    </tr>

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

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

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

<pre>
    I think this is a false positive. My understanding is that `true` and `false` are built in to the language, and should not need an explicit #include. I get the following warnings from clang-tidy:
```
pmanager.h:47:24: warning: no header providing "true" is directly included [misc-include-cleaner]
 15 |                 return true;
      | ^
```
```
pmanager:50:16: warning: no header providing "false" is directly included [misc-include-cleaner]
   15 |         return false;
 |                ^
```
Just to try and resolve this, I #include <cstdbool>. This does not resolve the warnings above, and instead adds the warning: "`included header cstdbool is not used directly [misc-include-cleaner]`"

This seems like an error, based on my understanding of the documentation.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyclM9u4zYQxp9mdBlYoEhJtg86OMkaSIHe-gKUOJbYpUiXf7x1n74g7cRBkF0UJQxalIYz8_v0UTIEPVuiAbon6F4qmeLi_CB9pFWHC-l_dDU6dR1eMS7afs9zQB1Q4kmaQHh2QUd9oRp_v2KyinyI0ipt5xwVFxkRehZ9IugZSqvysmwta084Jm0iaovRYVwIjbRzkjMBfy7xYXHJKLQuoiVSKC3S32ejJx0RuNB2MklRja84UywZTs4Y9yO38EN6q-0c8OTdilNOvYlaXUEcgL0AO0DP7r-yPK_Sypl8vYA4tFsQB96COLzlyZfW4UJSkcezdxddSIHzQsh5hlba0xTNFe-tKYTuadVh2txvbCZD0pKH7uVWFpsOYfuMn4enmLzFkls83WPLyNHQffsS4idMIA4dA3Fo-v9GdHtJ_xsJP0PdYW5p32m-wP4Z128pxGISfy3G8BScuVCxZDbL6wc7IIjnKUQ1OmdAfKvxj-xb5SgUIz220sMjcnSXd9dpGyJJhVKp8DEsCwacQ8_epbiL91Yu65VrpEDqIdwv9OpZTngjLnPpNRCtAY3-TsXx3jufextlTussrp-PmzuVPpWb0ko2yqidrSs1CLUXe1nR0Gwb1nZtt22rZeikOu0ZE0xsR6a2THR72VNDfTPtJiHGSg-c8ZaJpuW86RtRT2Lc9eK0Y2zHJrbvoWW0Sm1qYy5r7fxc6RASDbtOcFEZOZIJb58VP-SgzZjmAC0zOsTw2BZ1NLm7mtU9fiUSevoraU_hVycP-PGDaavkzbDEeA75qOdHx1nHJY315Fbgx1z8_rc5e_cnTRH4sQAE4MfC8G8AAAD__76dm9Q">