[libc-commits] [libc] [libc] disable -Wtype-limits in wctob (PR #74511)

Nick Desaulniers via libc-commits libc-commits at lists.llvm.org
Tue Dec 5 11:29:52 PST 2023


nickdesaulniers wrote:

> > my SFINAE skills are rusty, but I wonder if `std::is_signed` can be used here?
> 
> I was just about to comment the same thing. We should be able to do something like this
> 
> ```c++
> if constexpr (cpp::is_signed<wint_t>) {
> } else {
> }
> ```

cool! Done in https://github.com/llvm/llvm-project/pull/74511/commits/f3a22d435ec559ca43b3bd55fb3be10c6eb6e071

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


More information about the libc-commits mailing list