Skip to content

Commit 12868e5

Browse files
committed
C++: Remove deprecated code added more than a year ago
1 parent e095294 commit 12868e5

File tree

2 files changed

+0
-20
lines changed

2 files changed

+0
-20
lines changed

cpp/ql/lib/semmle/code/cpp/models/interfaces/NonThrowing.qll

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,3 @@ import semmle.code.cpp.models.Models
1111
* The function may still raise a structured exception handling (SEH) exception.
1212
*/
1313
abstract class NonCppThrowingFunction extends Function { }
14-
15-
/**
16-
* A function that is guaranteed to never throw.
17-
*
18-
* DEPRECATED: use `NonCppThrowingFunction` instead.
19-
*/
20-
deprecated class NonThrowingFunction = NonCppThrowingFunction;

cpp/ql/lib/semmle/code/cpp/models/interfaces/Throwing.qll

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -10,19 +10,6 @@ import semmle.code.cpp.Function
1010
import semmle.code.cpp.models.Models
1111
import semmle.code.cpp.models.interfaces.FunctionInputsAndOutputs
1212

13-
/**
14-
* A function that is known to raise an exception.
15-
*
16-
* DEPRECATED: use `AlwaysSehThrowingFunction` instead.
17-
*/
18-
abstract deprecated class ThrowingFunction extends Function {
19-
/**
20-
* Holds if this function may throw an exception during evaluation.
21-
* If `unconditional` is `true` the function always throws an exception.
22-
*/
23-
abstract predicate mayThrowException(boolean unconditional);
24-
}
25-
2613
/**
2714
* A function that unconditionally raises a structured exception handling (SEH) exception.
2815
*/

0 commit comments

Comments
 (0)