mirror of
https://github.com/github/codeql.git
synced 2025-12-17 01:03:14 +01:00
Python: remove deprecation that were recently updated from an automated patch of mine
This commit is contained in:
@@ -110,24 +110,3 @@ class ReModulePointToExtension extends PointsToExtension {
|
||||
pragma[noinline]
|
||||
private predicate pointsTo_helper(Context context) { context.appliesTo(this) }
|
||||
}
|
||||
|
||||
deprecated private class BackwardCompatiblePointToExtension extends PointsToExtension instanceof CustomPointsToFact {
|
||||
override predicate pointsTo(Context context, ObjectInternal value, ControlFlowNode origin) {
|
||||
exists(Object obj, ClassObject cls |
|
||||
CustomPointsToFact.super.pointsTo(context, obj, cls, origin)
|
||||
|
|
||||
value.getBuiltin() = obj
|
||||
or
|
||||
obj instanceof ControlFlowNode and
|
||||
exists(ClassObjectInternal c |
|
||||
c.getSource() = cls and
|
||||
value = TUnknownInstance(c)
|
||||
)
|
||||
)
|
||||
or
|
||||
exists(ObjectInternal owner, string name |
|
||||
PointsTo::pointsTo(this.(AttrNode).getObject(name), context, owner, _) and
|
||||
additionalAttribute(owner, name, value, origin)
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user