[clang] [clang][ExprConstant] Reject integral casts of addr-label-diffs... (PR #171437)

Timm Baeder via cfe-commits cfe-commits at lists.llvm.org
Tue Dec 9 22:15:57 PST 2025


tbaederr wrote:

> What's the benefit of hardcoding "32" here? Does it help simplify the interpreter implementation somehow?

I hardcoded 32 because you said "I don't think there's any reason anyone would want to go narrower than 32 bits," in https://github.com/llvm/llvm-project/issues/136135, would you query the integer bitwidth or do something else?



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


More information about the cfe-commits mailing list