clang API Documentation

Public Member Functions | Static Public Member Functions | Protected Member Functions | Friends
clang::DecltypeType Class Reference

DecltypeType (C++0x) More...

#include <Type.h>

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

List of all members.

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.

Static Public Member Functions

static bool classof (const Type *T)

Protected Member Functions

 DecltypeType (Expr *E, QualType underlyingType, QualType can=QualType())

Friends

class ASTContext

Detailed Description

DecltypeType (C++0x)

Definition at line 3256 of file Type.h.


Constructor & Destructor Documentation

DecltypeType::DecltypeType ( Expr E,
QualType  underlyingType,
QualType  can = QualType() 
) [protected]

Definition at line 1835 of file Type.cpp.


Member Function Documentation

static bool clang::DecltypeType::classof ( const Type T) [inline, static]

Definition at line 3273 of file Type.h.

References clang::Type::getTypeClass().

Remove a single level of sugar.

Definition at line 1849 of file Type.cpp.

References getUnderlyingType(), isSugared(), and clang::ExtQualsTypeCommonBase::QualType.

Definition at line 3265 of file Type.h.

Referenced by desugar(), and clang::ASTNodeImporter::VisitDecltypeType().

Returns whether this type directly provides sugar.

Definition at line 1847 of file Type.cpp.

References clang::Expr::isInstantiationDependent().

Referenced by desugar().


Friends And Related Function Documentation

friend class ASTContext [friend]

Reimplemented from clang::Type.

Definition at line 3262 of file Type.h.


The documentation for this class was generated from the following files: