clang 20.0.0git
|
This class is used for builtin types like 'int'. More...
#include "clang/AST/Type.h"
Public Types | |
enum | Kind |
![]() | |
enum | TypeClass |
enum | ScalarTypeKind { STK_CPointer , STK_BlockPointer , STK_ObjCObjectPointer , STK_MemberPointer , STK_Bool , STK_Integral , STK_Floating , STK_IntegralComplex , STK_FloatingComplex , STK_FixedPoint } |
Public Member Functions | |
Kind | getKind () const |
StringRef | getName (const PrintingPolicy &Policy) const |
const char * | getNameAsCString (const PrintingPolicy &Policy) const |
bool | isSugared () const |
QualType | desugar () const |
bool | isInteger () const |
bool | isSignedInteger () const |
bool | isUnsignedInteger () const |
bool | isFloatingPoint () const |
bool | isSVEBool () const |
bool | isSVECount () const |
bool | isPlaceholderType () const |
Determines whether this type is a placeholder type, i.e. | |
bool | isNonOverloadPlaceholderType () const |
Determines whether this type is a placeholder type other than Overload. | |
![]() | |
Type (const Type &)=delete | |
Type (Type &&)=delete | |
Type & | operator= (const Type &)=delete |
Type & | operator= (Type &&)=delete |
TypeClass | getTypeClass () const |
bool | isFromAST () const |
Whether this type comes from an AST file. | |
bool | containsUnexpandedParameterPack () const |
Whether this type is or contains an unexpanded parameter pack, used to support C++0x variadic templates. | |
bool | isCanonicalUnqualified () const |
Determines if this type would be canonical if it had no further qualification. | |
QualType | getLocallyUnqualifiedSingleStepDesugaredType () const |
Pull a single level of sugar off of this locally-unqualified type. | |
bool | isSizelessType () const |
As an extension, we classify types as one of "sized" or "sizeless"; every type is one or the other. | |
bool | isSizelessBuiltinType () const |