From e2ad1f65111e75d22bfc8b0dad9b944b8c54d425 Mon Sep 17 00:00:00 2001 From: "REDMOND\\brodes" Date: Thu, 12 Feb 2026 09:20:55 -0500 Subject: [PATCH] C++: Updating comment per PR reveiw suggestions. --- cpp/ql/src/Likely Bugs/Leap Year/LeapYear.qll | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cpp/ql/src/Likely Bugs/Leap Year/LeapYear.qll b/cpp/ql/src/Likely Bugs/Leap Year/LeapYear.qll index 77c23d97b02..6916818cdc5 100644 --- a/cpp/ql/src/Likely Bugs/Leap Year/LeapYear.qll +++ b/cpp/ql/src/Likely Bugs/Leap Year/LeapYear.qll @@ -310,7 +310,9 @@ module PossibleYearArithmeticOperationCheckFlow = TaintTracking::Global; /** - * This list of APIs should check for the return value to detect problems during the conversion. + * Time conversion functions where either + * 1) an incorrect leap year date would result in an error that can be checked from the return value or + * 2) an incorrect leap year date is auto corrected (no checks required) */ class TimeConversionFunction extends Function { boolean autoLeapYearCorrecting;