CodeQL library for Go
codeql/go-all 4.1.0 (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()