[clang] [Clang] Implement labelled type filtering for overflow/truncation sanitizers w/ SSCLs (PR #107332)
Justin Stitt via cfe-commits
cfe-commits at lists.llvm.org
Wed Oct 30 19:48:49 PDT 2024
================
@@ -197,6 +197,18 @@ static bool CanElideOverflowCheck(const ASTContext &Ctx, const BinOpInfo &Op) {
if (!Op.mayHaveIntegerOverflow())
return true;
+ if (Op.Ty->isSignedIntegerType() &&
----------------
JustinStitt wrote:
I'll add a comment, good idea :)
https://github.com/llvm/llvm-project/pull/107332
More information about the cfe-commits
mailing list