Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4ea4e0d commit a5e5a57Copy full SHA for a5e5a57
1 file changed
go/ql/lib/semmle/go/dataflow/internal/DataFlowNodes.qll
@@ -11,9 +11,7 @@ private newtype TNode =
11
MkSsaNode(SsaDefinition ssa) or
12
MkGlobalFunctionNode(Function f) or
13
MkSummarizedParameterNode(SummarizedCallable c, int i) {
14
- i in [0 .. c.getType().getNumParameter() - 1]
15
- or
16
- c.asFunction() instanceof Method and i = -1
+ FlowSummaryImpl::Private::summaryParameterNodeRange(c, i)
17
} or
18
MkSummaryInternalNode(SummarizedCallable c, FlowSummaryImpl::Private::SummaryNodeState state) {
19
FlowSummaryImpl::Private::summaryNodeRange(c, state)
0 commit comments