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

Member predicate CallExpr::getExplicitVarargsArgument

Gets an argument with an ellipsis after it which is passed to a varargs parameter, as in f(x...).

Note that if the varargs parameter is ...T then the type of the argument must be assignable to the slice type []T.

Expr getExplicitVarargsArgument()