From f5a38b47015d929477324ea1844f3f5213c047a7 Mon Sep 17 00:00:00 2001 From: Ben Rodes Date: Thu, 12 Feb 2026 10:17:56 -0500 Subject: [PATCH] Apply suggestion from @geoffw0 Co-authored-by: Geoffrey White <40627776+geoffw0@users.noreply.github.com> --- .../Leap Year/UncheckedLeapYearAfterYearModification.ql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpp/ql/src/Likely Bugs/Leap Year/UncheckedLeapYearAfterYearModification.ql b/cpp/ql/src/Likely Bugs/Leap Year/UncheckedLeapYearAfterYearModification.ql index d22a6b5e557..03236397979 100644 --- a/cpp/ql/src/Likely Bugs/Leap Year/UncheckedLeapYearAfterYearModification.ql +++ b/cpp/ql/src/Likely Bugs/Leap Year/UncheckedLeapYearAfterYearModification.ql @@ -266,7 +266,7 @@ class IgnorablePointerOrCharArithmetic extends IgnorableOperation { } /** - * Holds for an expression that is a operation that could flow to a Year field. + * Holds for an expression that is an add or similar operation that could flow to a Year field. */ predicate isOperationSourceCandidate(Expr e) { not e instanceof IgnorableOperation and