<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/86547>86547</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[libc] remove LIBC_HAS_ATTRIBUTE
</td>
</tr>
<tr>
<th>Labels</th>
<td>
good first issue,
code-cleanup,
libc
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
nickdesaulniers
</td>
</tr>
</table>
<pre>
Similar to #86546, `__has_attribute` has also long been supported by modern toolchains; at least the versions we advertise support for.
https://libc.llvm.org/compiler_support.html
We should remove this preprocessor macro and its usage throughout the codebase. cc @gchatelet
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxUkkFv4zgMhX-NfCFqOLJjJwcfkmaDLbCnbRd7DGiJtjQjm4YoZdB_P3A67WAuEiTwUY_vE4r4aSHq1f6s9pcCc3Ic-8Wb75YEc1g8RSkGtu_9q599wAiJQen60O6bVulnUG11uzmUG6YU_ZATqbYChwIYhCHwMsFAtIDkdeWYyMLwDjNbigsk5mAc-kVUfQZMEAglQXIEd4rieRH4QYD2TjF5oc8mMHIsVXVR1cmltIqqT0pflb4GP5gyhPtccpyUvhqeVx8o3n4JS5fm8CH8WP8nEMc5WIg0850gOS-wRlojGxLhCDOayICLBZ8EsuC0VUXOk-P8YdawpQGFSjAGVFNNxmGiQKmwfW2P9REL6nfdblcfDt2xLVxPbVcTjoTWUofNrhqPtq6oa9rBju3YFr7XlW6qWu93XdPWbanr8aixwR3a5nCgSjUVzejD17iFF8nUb2S6IuBAQR5ctZ6YLYw-SoJHjdJa6Wel9eb7yQTCJa9fl1uG22F_KWK_NX8a8iSqqYKXJL-fSz6Fx895CPaXzwT_eTk_3_4-vd5Ob2__vpz_e_uryDH0f4KafHJ5KA3PG7Vw_9ye1sjfyCSlrw-rovT1MdHPAAAA__-P9eIW">