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

Predicate IR::extractTupleElement

Gets the instruction corresponding to the extraction of the idxth element of the tuple produced by base.

Import path

import semmle.go.controlflow.IR
ExtractTupleElementInstruction extractTupleElement(Instruction base, int idx)