mirror of
https://github.com/github/codeql.git
synced 2026-04-19 14:04:09 +02:00
delete outdated deprecations
This commit is contained in:
@@ -527,13 +527,6 @@ class Destructor extends Callable, Member, Attributable, @destructor {
|
||||
* (`BinaryOperator`), or a conversion operator (`ConversionOperator`).
|
||||
*/
|
||||
class Operator extends Callable, Member, Attributable, Overridable, @operator {
|
||||
/**
|
||||
* DEPRECATED: use `getFunctionName()` instead.
|
||||
*
|
||||
* Gets the assembly name of this operator.
|
||||
*/
|
||||
deprecated string getAssemblyName() { result = this.getFunctionName() }
|
||||
|
||||
override string getName() { operators(this, _, result, _, _, _) }
|
||||
|
||||
override string getUndecoratedName() { operators(this, _, result, _, _, _) }
|
||||
@@ -989,9 +982,6 @@ class LeftShiftOperator extends BinaryOperator {
|
||||
override string getAPrimaryQlClass() { result = "LeftShiftOperator" }
|
||||
}
|
||||
|
||||
/** DEPRECATED: Alias for LeftShiftOperator. */
|
||||
deprecated class LShiftOperator = LeftShiftOperator;
|
||||
|
||||
/**
|
||||
* A user-defined right shift operator (`>>`), for example
|
||||
*
|
||||
@@ -1007,9 +997,6 @@ class RightShiftOperator extends BinaryOperator {
|
||||
override string getAPrimaryQlClass() { result = "RightShiftOperator" }
|
||||
}
|
||||
|
||||
/** DEPRECATED: Alias for RightShiftOperator. */
|
||||
deprecated class RShiftOperator = RightShiftOperator;
|
||||
|
||||
/**
|
||||
* A user-defined unsigned right shift operator (`>>>`), for example
|
||||
*
|
||||
|
||||
@@ -192,9 +192,6 @@ class AssignLeftShiftExpr extends AssignBitwiseOperation, @assign_lshift_expr {
|
||||
override string getAPrimaryQlClass() { result = "AssignLeftShiftExpr" }
|
||||
}
|
||||
|
||||
/** DEPRECATED: Alias for AssignLeftShipExpr. */
|
||||
deprecated class AssignLShiftExpr = AssignLeftShiftExpr;
|
||||
|
||||
/**
|
||||
* A right-shift assignment operation, for example `x >>= y`.
|
||||
*/
|
||||
@@ -204,9 +201,6 @@ class AssignRightShiftExpr extends AssignBitwiseOperation, @assign_rshift_expr {
|
||||
override string getAPrimaryQlClass() { result = "AssignRightShiftExpr" }
|
||||
}
|
||||
|
||||
/** DEPRECATED: Alias for AssignRightShiftExpr. */
|
||||
deprecated class AssignRShiftExpr = AssignRightShiftExpr;
|
||||
|
||||
/**
|
||||
* An unsigned right-shift assignment operation, for example `x >>>= y`.
|
||||
*/
|
||||
|
||||
@@ -47,9 +47,6 @@ class LeftShiftExpr extends BinaryBitwiseOperation, @lshift_expr {
|
||||
override string getAPrimaryQlClass() { result = "LeftShiftExpr" }
|
||||
}
|
||||
|
||||
/** DEPRECATED: Alias for LeftShiftExpr. */
|
||||
deprecated class LShiftExpr = LeftShiftExpr;
|
||||
|
||||
/**
|
||||
* A right-shift operation, for example `x >> y`.
|
||||
*/
|
||||
@@ -59,9 +56,6 @@ class RightShiftExpr extends BinaryBitwiseOperation, @rshift_expr {
|
||||
override string getAPrimaryQlClass() { result = "RightShiftExpr" }
|
||||
}
|
||||
|
||||
/** DEPRECATED: Alias for RightShiftExpr. */
|
||||
deprecated class RShiftExpr = RightShiftExpr;
|
||||
|
||||
/**
|
||||
* An unsigned right-shift operation, for example `x >>> y`.
|
||||
*/
|
||||
|
||||
@@ -71,17 +71,6 @@ class ExternalApiDataNode extends DataFlow::Node {
|
||||
predicate hasQualifiedName(string qualifier, string name) {
|
||||
this.getCallable().hasFullyQualifiedName(qualifier, name)
|
||||
}
|
||||
|
||||
/**
|
||||
* DEPRECATED: Use hasQualifiedName/2 instead.
|
||||
*
|
||||
* Gets the description of the callable being called.
|
||||
*/
|
||||
deprecated string getCallableDescription() {
|
||||
exists(string qualifier, string name |
|
||||
this.hasQualifiedName(qualifier, name) and result = getQualifiedName(qualifier, name)
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user