Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[libc] fix -Wshift-count-overflow in UInt.h
Not that I'm very good at SFINAE, but it seems that conversion operators are perhaps difficult to compose with SFINAE. I saw an example that used one layer of indirection to have an explicit return type that could then be used with enable_if_t. Link: https://stackoverflow.com/a/7604580 Fixes: llvm#74623
- Loading branch information