[clang] [Clang] Implement labelled type filtering for overflow/truncation sanitizers w/ SSCLs (PR #107332)
Bill Wendling via cfe-commits
cfe-commits at lists.llvm.org
Wed Oct 30 15:00:52 PDT 2024
================
@@ -197,6 +197,18 @@ static bool CanElideOverflowCheck(const ASTContext &Ctx, const BinOpInfo &Op) {
if (!Op.mayHaveIntegerOverflow())
return true;
+ if (Op.Ty->isSignedIntegerType() &&
----------------
bwendling wrote:
Does this (and the following if-then) need a comment? Or is it covered by the comment above?
https://github.com/llvm/llvm-project/pull/107332
More information about the cfe-commits
mailing list