[clang] [Clang] Overflow Pattern Exclusions (PR #100272)

Eli Friedman via cfe-commits cfe-commits at lists.llvm.org
Wed Aug 14 15:11:46 PDT 2024


https://github.com/efriedma-quic approved this pull request.

LGTM

The other thing you could do is modify ScalarExprEmitter::EmitCompare... if it sees an overflow pattern, it passes that down as an argument to the visit of the add.  But I guess given the current structure of the code, that gets very complicated, so just storing the bit is probably easier.

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


More information about the cfe-commits mailing list