clang 20.0.0git
Public Types | Public Member Functions | Static Public Member Functions | Friends | List of all members
clang::BuiltinType Class Reference

This class is used for builtin types like 'int'. More...

#include "clang/AST/Type.h"

Inheritance diagram for clang::BuiltinType:
Inheritance graph
[legend]

Public Types

enum  Kind
 
- Public Types inherited from clang::Type
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.
 
- Public Member Functions inherited from clang::Type
 Type (const Type &)=delete
 
 Type (Type &&)=delete
 
Typeoperator= (const Type &)=delete
 
Typeoperator= (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