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

Member predicate Architecture::getBitSize

Gets the integer and pointer type width for this architecture.

As of the time of writing, this appears to always be identical – there aren’t Go architectures with 64-bit pointers but 32-bit ints, for example.

int getBitSize()