Remove impossible lines from Stubs.qll

This commit is contained in:
Chris Smowton
2021-09-02 17:14:38 +01:00
parent 29b9231f49
commit b9afccc015

View File

@@ -129,8 +129,6 @@ private class IndirectType extends GeneratedType {
or
this = any(GeneratedType t).getSourceDeclaration()
or
exists(GeneratedType t | this = t.(BoundedType).getATypeBound().getType())
or
exists(GeneratedDeclaration decl |
decl.(Member).getDeclaringType().getSourceDeclaration() = this
)
@@ -138,8 +136,6 @@ private class IndirectType extends GeneratedType {
this.(NestedType).getEnclosingType() instanceof GeneratedType
or
exists(NestedType nt | nt instanceof GeneratedType and this = nt.getEnclosingType())
or
this = any(GeneratedType a).(Array).getComponentType()
}
}