mirror of
https://github.com/github/codeql.git
synced 2026-01-29 14:23:03 +01:00
Control flow for generic function instantiations
This commit is contained in:
committed by
Chris Smowton
parent
0dee215e8c
commit
3790c4eb4d
@@ -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 }
|
||||
|
||||
Reference in New Issue
Block a user