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

Member predicate IR::Instruction::isConst

Holds if the result of this instruction is known at compile time.

predicate isConst()