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

Member predicate IR::Instruction::isPlatformIndependentConstant

Holds if the result of this instruction is known at compile time, and is guaranteed not to depend on the platform where it is evaluated.

predicate isPlatformIndependentConstant()