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

Class IROpaqueType

A type with known size that does not fit any of the other kinds of type. Used to represent classes, structs, unions, fixed-size arrays, pointers-to-member, and more.

Import path

import semmle.code.cpp.ir.IR

Direct supertypes

Indirect supertypes

Fields

Inherited fields

Predicates

getByteSize

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

getCanonicalLanguageType

Gets a single instance of LanguageType that maps to this 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.

getTag

Gets the “tag” that differentiates this type from other incompatible opaque types that have the same size.

toString

Gets a textual representation of this type.

Charpred