[clang] [lldb] [llvm] [APInt] Fix APInt constructions where value does not fit bitwidth (NFCI) (PR #80309)

Nikita Popov via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 15 00:57:29 PDT 2024


nikic wrote:

> `APInt::getAllOnes` will assert if `BitWidth == 0`.
> 
> [snip]

For the record, this is fixed by https://github.com/llvm/llvm-project/pull/112227.

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


More information about the cfe-commits mailing list