diff options
author | Guillaume Chatelet <gchatelet@google.com> | 2023-12-08 18:03:24 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-08 18:03:24 +0100 |
commit | 31316b3f8511d659cc14ebc72fb2b226f78478a9 (patch) | |
tree | d9358e16a7edafc36ce6c1589714058eb7277006 /llvm/lib/Support/CommandLine.cpp | |
parent | 49b27b150b97c190dedf8b45bf991c4b811ed953 (diff) | |
download | llvm-31316b3f8511d659cc14ebc72fb2b226f78478a9.zip llvm-31316b3f8511d659cc14ebc72fb2b226f78478a9.tar.gz llvm-31316b3f8511d659cc14ebc72fb2b226f78478a9.tar.bz2 |
[reland][libc] Make BigInt bit_cast-able to compatible types (#74862)
Fix #74258
This is a reland of #74837, the error went unnoticed because it compiles
fine on
clang-16 but not on clang-12 which is the version used on the buildbots.
The fix was to explicitly initialize `BigInt` variables in `constexpr`
operations: `BigInt<Bits, Signed> result(0);` instead of `BigInt<Bits,
Signed> result;`
Diffstat (limited to 'llvm/lib/Support/CommandLine.cpp')
0 files changed, 0 insertions, 0 deletions