Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions cpp/ql/lib/change-notes/2026-11-18-outdated-deprecations.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
category: breaking
---
* Removed the deprecated `getAContructorCall` predicate. Use `getAConstructorCall` instead.
Original file line number Diff line number Diff line change
Expand Up @@ -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() }
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down
7 changes: 0 additions & 7 deletions cpp/ql/src/Likely Bugs/Leap Year/LeapYear.qll
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*/
Expand Down
4 changes: 4 additions & 0 deletions cpp/ql/src/change-notes/2026-11-18-outdated-deprecations.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
category: breaking
---
* Removed the deprecated `occurenceCount` and `additionalAdditionOrSubstractionCheckForLeapYear` helper predicates. Use `occurrenceCount` and `additionalAdditionOrSubtractionCheckForLeapYear` instead.
Loading