Files
clang-p2996/llvm/unittests/ADT/APIntTest.cpp
Nikita Popov c180da93e0 [APInt] Fix getAllOnes() with zero width (#112227)
This makes sure that APInt::getAllOnes() keeps working after the APInt
constructor assertions are enabled.

I'm relaxing the requirement for the signed case to either an all zeros
or all ones integer. This is basically saying that we can interpret the
zero-width integer as either positive or negative.
2024-10-15 09:33:44 +02:00

116 KiB