Control flow for generic function instantiations

This commit is contained in:
Owen Mansel-Chan
2022-04-13 16:13:51 +01:00
committed by Chris Smowton
parent 0dee215e8c
commit 3790c4eb4d

View File

@@ -698,6 +698,10 @@ module CFG {
not this.(SelectorExpr).getBase() instanceof ValueExpr and
nd = mkExprOrSkipNode(this) and
cmpl = Done()
or
this instanceof GenericFunctionInstantiationExpr and
nd = MkExprNode(this) and
cmpl = Done()
}
override predicate firstNode(ControlFlow::Node first) { first = nd }