llvm-project
32a9f63b - [clang][bytecode] Fix some problems with ptr-to-int casts (#193988)

Commit
3 days ago
[clang][bytecode] Fix some problems with ptr-to-int casts (#193988) 1) When doing integral casts on a pointer-casted-to-integral, check the bitwidth we're casting _to_, not the one we're casting _from_. 2) When the pointer we're casting to an integral is a dummy pointer, don't forget to check the bitwidth.
Author
Parents
Loading