diff --git a/cpp/ql/lib/change-notes/2026-11-18-outdated-deprecations.md b/cpp/ql/lib/change-notes/2026-11-18-outdated-deprecations.md new file mode 100644 index 000000000000..3b0fed6037a4 --- /dev/null +++ b/cpp/ql/lib/change-notes/2026-11-18-outdated-deprecations.md @@ -0,0 +1,4 @@ +--- +category: breaking +--- +* Removed the deprecated `getAContructorCall` predicate. Use `getAConstructorCall` instead. diff --git a/cpp/ql/lib/semmle/code/cpp/security/boostorg/asio/protocols.qll b/cpp/ql/lib/semmle/code/cpp/security/boostorg/asio/protocols.qll index 984bd874ae51..23681df4d094 100644 --- a/cpp/ql/lib/semmle/code/cpp/security/boostorg/asio/protocols.qll +++ b/cpp/ql/lib/semmle/code/cpp/security/boostorg/asio/protocols.qll @@ -199,11 +199,6 @@ module BoostorgAsio { not result.getLocation().getFile().toString().matches("%/boost/asio/%") and result.fromSource() } - - /** - * DEPRECATED: Use `getAConstructorCall` instead. - */ - deprecated ConstructorCall getAContructorCall() { result = this.getAConstructorCall() } } /** diff --git a/cpp/ql/src/Best Practices/Magic Constants/MagicConstants.qll b/cpp/ql/src/Best Practices/Magic Constants/MagicConstants.qll index 033840764830..a11005f6d8a2 100644 --- a/cpp/ql/src/Best Practices/Magic Constants/MagicConstants.qll +++ b/cpp/ql/src/Best Practices/Magic Constants/MagicConstants.qll @@ -170,11 +170,6 @@ predicate occurrenceCount(Literal lit, string value, int n) { nonTrivialValue(_, lit) } -/** - * DEPRECATED: Use `occurrenceCount` instead. - */ -deprecated predicate occurenceCount = occurrenceCount/3; - /* * Literals repeated frequently */ diff --git a/cpp/ql/src/Likely Bugs/Leap Year/LeapYear.qll b/cpp/ql/src/Likely Bugs/Leap Year/LeapYear.qll index 99981873d26d..877941acae2f 100644 --- a/cpp/ql/src/Likely Bugs/Leap Year/LeapYear.qll +++ b/cpp/ql/src/Likely Bugs/Leap Year/LeapYear.qll @@ -133,13 +133,6 @@ abstract class LeapYearFieldAccess extends YearFieldAccess { additionalLogicalCheck(this, "-", valueToCheck) } - /** - * DEPRECATED: Use `additionalAdditionOrSubtractionCheckForLeapYear` instead. - */ - deprecated predicate additionalAdditionOrSubstractionCheckForLeapYear(int valueToCheck) { - this.additionalAdditionOrSubtractionCheckForLeapYear(valueToCheck) - } - /** * Holds if this object is used on a modulus 4 operation, which would likely indicate the start of a leap year check. */ diff --git a/cpp/ql/src/change-notes/2026-11-18-outdated-deprecations.md b/cpp/ql/src/change-notes/2026-11-18-outdated-deprecations.md new file mode 100644 index 000000000000..ff97f2c54384 --- /dev/null +++ b/cpp/ql/src/change-notes/2026-11-18-outdated-deprecations.md @@ -0,0 +1,4 @@ +--- +category: breaking +--- +* Removed the deprecated `occurenceCount` and `additionalAdditionOrSubstractionCheckForLeapYear` helper predicates. Use `occurrenceCount` and `additionalAdditionOrSubtractionCheckForLeapYear` instead.