@@ -6,6 +6,7 @@ private import ControlFlow
6
6
private import ControlFlow:: BasicBlocks
7
7
private import SuccessorTypes
8
8
private import semmle.code.csharp.Caching
9
+ private import internal.ControlFlowGraphImpl
9
10
10
11
/**
11
12
* A program element that can possess control flow. That is, either a statement or
@@ -38,14 +39,14 @@ class ControlFlowElement extends ExprOrStmtParent, @control_flow_element {
38
39
* Gets a first control flow node executed within this element.
39
40
*/
40
41
Nodes:: ElementNode getAControlFlowEntryNode ( ) {
41
- result = Internal :: getAControlFlowEntryNode ( this ) .getAControlFlowNode ( )
42
+ result = getAControlFlowEntryNode ( this ) .getAControlFlowNode ( )
42
43
}
43
44
44
45
/**
45
46
* Gets a potential last control flow node executed within this element.
46
47
*/
47
48
Nodes:: ElementNode getAControlFlowExitNode ( ) {
48
- result = Internal :: getAControlFlowExitNode ( this ) .getAControlFlowNode ( )
49
+ result = getAControlFlowExitNode ( this ) .getAControlFlowNode ( )
49
50
}
50
51
51
52
/**
@@ -80,7 +81,7 @@ class ControlFlowElement extends ExprOrStmtParent, @control_flow_element {
80
81
) {
81
82
// Only calculate dominance by explicit recursion for split nodes;
82
83
// all other nodes can use regular CFG dominance
83
- this instanceof ControlFlow :: Internal :: SplitControlFlowElement and
84
+ this instanceof SplitControlFlowElement and
84
85
cb .getLastNode ( ) = this .getAControlFlowNode ( ) and
85
86
succ = cb .getASuccessorByType ( s )
86
87
}
0 commit comments