[libc-commits] [libc] [libc] fix type generic stdc_leading_zeros for GCC (PR #79917)

Nick Desaulniers via libc-commits libc-commits at lists.llvm.org
Tue Jan 30 08:59:43 PST 2024


nickdesaulniers wrote:

Fixed in https://github.com/llvm/llvm-project/commit/0129ff17a9885d76d3700fee56500848c28e3fc1. Sorry about that!

@jhuber6 I think we can simplify the condition further to just:

```cmake
if(libc.include.stdbit IN_LIST TARGET_PUBLIC_HEADERS)
```
(I'm guessing that `TARGET_PUBLIC_HEADERS` is empty when `LLVM_LIBC_FULL_BUILD` is not set?)

https://github.com/llvm/llvm-project/pull/79917


More information about the libc-commits mailing list