CodeQL library for Go
codeql/go-all 2.1.3-dev (changelog, source)
Search

Predicate MakeImplCommon::argumentPositionMatch

Holds if arg is an argument of call with an argument position that matches parameter position ppos.

Import path

import codeql.dataflow.internal.DataFlowImplCommon
predicate argumentPositionMatch(DataFlowCall call, ArgNode arg, ParameterPosition ppos)