CodeQL library for C/C++
codeql/cpp-all 2.0.1-dev (changelog, source)
Search

Class IRIntegerType

An integer type. This includes IRSignedIntegerType and IRUnsignedIntegerType.

Import path

import semmle.code.cpp.ir.IR

Direct supertypes

Indirect supertypes

Known direct subtypes

Inherited fields

Predicates

isSigned

Holds if this integer type is signed.

isUnsigned

Holds if this integer type is unsigned.

Inherited predicates

getByteSize

Gets the size of the type, in bytes, if known.

from IRType
getCanonicalLanguageType

Gets a single instance of LanguageType that maps to this IRType.

from IRType
getIdentityString

Gets a string that uniquely identifies this IRType. This string is often the same as the result of IRType.toString(), but for some types it may be more verbose to ensure uniqueness.

from IRType
toString

Gets a textual representation of this type.

from IRType

Charpred