clang API Documentation
DecltypeType (C++0x) More...
#include <Type.h>
Public Member Functions | |
Expr * | getUnderlyingExpr () const |
QualType | getUnderlyingType () const |
QualType | desugar () const |
Remove a single level of sugar. | |
bool | isSugared () const |
Returns whether this type directly provides sugar. | |
Static Public Member Functions | |
static bool | classof (const Type *T) |
Protected Member Functions | |
DecltypeType (Expr *E, QualType underlyingType, QualType can=QualType()) | |
Friends | |
class | ASTContext |
DecltypeType (C++0x)
DecltypeType::DecltypeType | ( | Expr * | E, |
QualType | underlyingType, | ||
QualType | can = QualType() |
||
) | [protected] |
static bool clang::DecltypeType::classof | ( | const Type * | T | ) | [inline, static] |
Definition at line 3273 of file Type.h.
References clang::Type::getTypeClass().
QualType DecltypeType::desugar | ( | ) | const |
Remove a single level of sugar.
Definition at line 1849 of file Type.cpp.
References getUnderlyingType(), isSugared(), and clang::ExtQualsTypeCommonBase::QualType.
Expr* clang::DecltypeType::getUnderlyingExpr | ( | ) | const [inline] |
Definition at line 3264 of file Type.h.
Referenced by clang::TemplateDeclInstantiator::InstantiateTypedefNameDecl(), and clang::ASTNodeImporter::VisitDecltypeType().
QualType clang::DecltypeType::getUnderlyingType | ( | ) | const [inline] |
Definition at line 3265 of file Type.h.
Referenced by desugar(), and clang::ASTNodeImporter::VisitDecltypeType().
bool DecltypeType::isSugared | ( | ) | const |
Returns whether this type directly provides sugar.
Definition at line 1847 of file Type.cpp.
References clang::Expr::isInstantiationDependent().
Referenced by desugar().
friend class ASTContext [friend] |
Reimplemented from clang::Type.