ΒΆCXType clang_getCanonicalType(CXType T)

Description

Return the canonical type for a CXType. Clang's type system explicitly models typedefs and all the ways a specific type can be represented. The canonical type is the underlying type with all the "sugar" removed. For example, if 'T' is a typedef for 'int', the canonical type for 'T' would be 'int'.

Declared at: clang/include/clang-c/Index.h:3707

Parameters

CXType T