<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/72203>72203</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
Sema::isSimpleTypeSpecifier should return true for `_Bool` from C99 onwards
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
carlos4242
</td>
</tr>
</table>
<pre>
Relates to an existing FIXME in code: https://github.com/llvm/llvm-project/blob/main/clang/lib/Sema/SemaDecl.cpp#L131
--
As discussed in https://discourse.llvm.org/t/should-issimpletypespecifier-return-true-for-bool/74873, this would be a handy little addition for some use cases (for example in Swift, which uses it in the clang importer).
I have prepared a patch already and will raise a PR after I've raised this issue, to aid in tracking, and to avoid someone duplicating the work in future.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyUk8FvnDoQxv8acxmxAht2w4HDJnlIkd6TnrI99FYZe1imMRh5zG72v6_MNm167AWLGfP5-zw_NDOdZ8RW1I-ifs70GkcfWqOD81zJSma9t7f2FZ2OyBA96BnwnTjSfIbu5et__wDNYLxFoY4wxriwUEchOyG7M8Vx7XfGT0J2zl0-lnwJ_juaKGTXO98L2U2aZiE74_R8TpsoFU846Z_LMxq3M8sipPq3VKUonkVxvD_z_PPbkcESm5UZbTL2p6HU8mtg3CUbOx_SYckGj351NidmmhaH8bYgL2hoIAx5wLiGOY9hxXzwIe-9d0J2h-rhoIR8gjgSwzUJQI-gYdSzvYGjGB2CtpYi-RkGH4D9hLAygtGMDEI-pCq-63Rosnu60hCT5nUkM6atDBRTJ44I2_UATYsPEYOQze5z9BcY9QVhCbjogBY0LDqaEbQLqO0N9GzhSs5B0MTJ5_-voIeIAV6EPFzwXrf3OMS84hbOg6btKmPQ5o3SfJ42rdS5eLJbKj8j2HVxZPRGRrJ79eEtfTiscQ24y2yrbKManWFb7pumUWpf1NnYNg9WSnswRVFj32Mla12WgzSlsn1ZHeqMWllIVZZlVahqX9W7AodBVThUti5kqStRFThpcr_Gmm3-24OUhcqc7tHxRriUM14_wskEfGg3Ivv1zKIqHHHk3yqRosN241AdhToSnzY-vtwWPH3wAXd44I4JJEy2YYt98e0xobIvYAh-gqemAT9fdbCcrcG1f_2zbL45oZdy_QgAAP__S0M7aA">