clang API Documentation
TypeOfExprType (GCC extension). More...
#include <Type.h>
Public Member Functions | |
Expr * | getUnderlyingExpr () 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 | |
TypeOfExprType (Expr *E, QualType can=QualType()) | |
Friends | |
class | ASTContext |
TypeOfExprType (GCC extension).
TypeOfExprType::TypeOfExprType | ( | Expr * | E, |
QualType | can = QualType() |
||
) | [protected] |
static bool clang::TypeOfExprType::classof | ( | const Type * | T | ) | [inline, static] |
Definition at line 3206 of file Type.h.
References clang::Type::getTypeClass().
QualType TypeOfExprType::desugar | ( | ) | const |
Remove a single level of sugar.
Definition at line 1823 of file Type.cpp.
References clang::Expr::getType(), getUnderlyingExpr(), isSugared(), and clang::ExtQualsTypeCommonBase::QualType.
Expr* clang::TypeOfExprType::getUnderlyingExpr | ( | ) | const [inline] |
Definition at line 3198 of file Type.h.
Referenced by desugar(), and clang::ASTNodeImporter::VisitTypeOfExprType().
bool TypeOfExprType::isSugared | ( | ) | const |
Returns whether this type directly provides sugar.
Definition at line 1819 of file Type.cpp.
References clang::Expr::isTypeDependent().
Referenced by desugar().
friend class ASTContext [friend] |
Reimplemented from clang::Type.