File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed
csharp/ql/src/utils/modelgenerator/internal
java/ql/src/utils/modelgenerator/internal Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -178,7 +178,7 @@ string captureThroughFlow(DataFlowTargetApi api) {
178
178
string output
179
179
|
180
180
ThroughFlow:: flow ( p , returnNodeExt ) and
181
- returnNodeExt .getEnclosingCallable ( ) = api and
181
+ returnNodeExt .( DataFlow :: Node ) . getEnclosingCallable ( ) = api and
182
182
input = parameterNodeAsInput ( p ) and
183
183
output = returnNodeAsOutput ( returnNodeExt ) and
184
184
input != output and
Original file line number Diff line number Diff line change @@ -121,7 +121,7 @@ class InstanceParameterNode = DataFlowPrivate::InstanceParameterNode;
121
121
122
122
pragma [ nomagic]
123
123
private CS:: Parameter getParameter ( DataFlowImplCommon:: ReturnNodeExt node , ParameterPosition pos ) {
124
- result = node .getEnclosingCallable ( ) .getParameter ( pos .getPosition ( ) )
124
+ result = node .( DataFlow :: Node ) . getEnclosingCallable ( ) .getParameter ( pos .getPosition ( ) )
125
125
}
126
126
127
127
/**
Original file line number Diff line number Diff line change @@ -178,7 +178,7 @@ string captureThroughFlow(DataFlowTargetApi api) {
178
178
string output
179
179
|
180
180
ThroughFlow:: flow ( p , returnNodeExt ) and
181
- returnNodeExt .getEnclosingCallable ( ) = api and
181
+ returnNodeExt .( DataFlow :: Node ) . getEnclosingCallable ( ) = api and
182
182
input = parameterNodeAsInput ( p ) and
183
183
output = returnNodeAsOutput ( returnNodeExt ) and
184
184
input != output and
Original file line number Diff line number Diff line change @@ -184,7 +184,7 @@ string returnNodeAsOutput(DataFlowImplCommon::ReturnNodeExt node) {
184
184
exists ( int pos |
185
185
pos = node .getKind ( ) .( DataFlowImplCommon:: ParamUpdateReturnKind ) .getPosition ( )
186
186
|
187
- result = parameterAccess ( node .getEnclosingCallable ( ) .getParameter ( pos ) )
187
+ result = parameterAccess ( node .( DataFlow :: Node ) . getEnclosingCallable ( ) .getParameter ( pos ) )
188
188
or
189
189
result = qualifierString ( ) and pos = - 1
190
190
)
You can’t perform that action at this time.
0 commit comments