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

Represents the type decltype(expr) (C++11). More...

#include "clang/AST/Type.h"

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

Public Member Functions

ExprgetUnderlyingExpr () const
 
QualType getUnderlyingType () const
 
QualType desugar () const
 Remove a single level of sugar.
 
bool isSugared () const
 Returns whether this type directly provides sugar.
 
- 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
 
bool isSizelessVectorType () const
 Returns true for all scalable vector types.
 
bool isSVESizelessBuiltinType () const
 Returns true for SVE scalable vector types.
 
bool isRVVSizelessBuiltinType () const
 Returns true for RVV scalable vector types.
 
bool isWebAssemblyExternrefType () const
 Check if this is a WebAssembly Externref Type.