diff options
author | Guillaume Chatelet <gchatelet@google.com> | 2024-03-07 11:41:35 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-07 11:41:35 +0100 |
commit | 245d669f1d1c3f66d0d3d8aa7cffa5ef0d7747ff (patch) | |
tree | cb6db829f247d3f77c1ecb1277b4d5213afec228 /clang/lib/Analysis/FlowSensitive/ControlFlowContext.cpp | |
parent | c40146c214a705a232848144d9412c8a7c73f0fe (diff) | |
download | llvm-245d669f1d1c3f66d0d3d8aa7cffa5ef0d7747ff.zip llvm-245d669f1d1c3f66d0d3d8aa7cffa5ef0d7747ff.tar.gz llvm-245d669f1d1c3f66d0d3d8aa7cffa5ef0d7747ff.tar.bz2 |
[reland][libc] Remove UB specializations of type traits for `BigInt` (#84299)
Note: This is a reland of #84035.
The standard specifies that it it UB to specialize the following traits:
- `std::is_integral`
- `std::is_unsigned`
- `std::make_unsigned`
- `std::make_signed`
This patch:
- Removes specializations for `BigInt`
- Transforms SFINAE for `bit.h` functions from template parameter to
return type (This makes specialization easier).
- Adds `BigInt` specialization for `bit.h` functions.
- Fixes code depending on previous specializations.
Diffstat (limited to 'clang/lib/Analysis/FlowSensitive/ControlFlowContext.cpp')
0 files changed, 0 insertions, 0 deletions