Type

Members

Functions

opEquals
equals_t opEquals(const ref Type type_)

Determine whether two CXTypes represent the same type.

Properties

canonicalType
Type canonicalType [@property getter]

Return the canonical type for a CXType.

declaration
Cursor declaration [@property getter]

Return: the cursor for the declaration of the given type.

elaboratedType
Type elaboratedType [@property getter]

Retrieve the type named by the qualified-id.

isConst
bool isConst [@property getter]

Determine whether a CXType has the "const" qualifier set, without looking through aliases that may have added "const" at a different level.

isPOD
bool isPOD [@property getter]

Return: if the CXType is a POD (plain old data)

isRestrict
bool isRestrict [@property getter]

Determine whether a CXType has the "restrict" qualifier set, without looking through aliases that may have added "restrict" at a different level.

isVolatile
bool isVolatile [@property getter]

Determine whether a CXType has the "volatile" qualifier set, without looking through aliases that may have added "volatile" at a different level.

pointeeType
Type pointeeType [@property getter]

For pointer types, returns the type of the pointee.

spelling
string spelling [@property getter]

Pretty-print the underlying type using the rules of the language of the translation unit from which it came.

Meta