[clang] [Clang][CodeGen] Check `isUnderlyingBasePointerConstantNull` in `emitPointerArithmetic` (PR #137849)

Nikita Popov via cfe-commits cfe-commits at lists.llvm.org
Tue Apr 29 12:46:07 PDT 2025


https://github.com/nikic commented:

While we should omit inbounds, I think it would be good to not suppress the sanitizer. If the sanitizer doesn't warn about it, then things will never get better :(

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


More information about the cfe-commits mailing list