clang API Documentation
#include <Type.h>
Classes | |
struct | CanonicalTTPTInfo |
Public Member Functions | |
unsigned | getDepth () const |
unsigned | getIndex () const |
bool | isParameterPack () const |
TemplateTypeParmDecl * | getDecl () const |
IdentifierInfo * | getIdentifier () const |
bool | isSugared () const |
QualType | desugar () const |
void | Profile (llvm::FoldingSetNodeID &ID) |
Static Public Member Functions | |
static void | Profile (llvm::FoldingSetNodeID &ID, unsigned Depth, unsigned Index, bool ParameterPack, TemplateTypeParmDecl *TTPDecl) |
static bool | classof (const Type *T) |
Friends | |
class | ASTContext |
static bool clang::TemplateTypeParmType::classof | ( | const Type * | T | ) | [inline, static] |
Definition at line 3563 of file Type.h.
References clang::Type::getTypeClass().
QualType clang::TemplateTypeParmType::desugar | ( | ) | const [inline] |
TemplateTypeParmDecl* clang::TemplateTypeParmType::getDecl | ( | ) | const [inline] |
Definition at line 3541 of file Type.h.
Referenced by getIdentifier().
unsigned clang::TemplateTypeParmType::getDepth | ( | ) | const [inline] |
Definition at line 3537 of file Type.h.
Referenced by clang::Sema::CheckLiteralOperatorDeclaration(), IsStructurallyEquivalent(), isTemplateArgumentTemplateParameter(), and MarkUsedTemplateParameters().
IdentifierInfo * TemplateTypeParmType::getIdentifier | ( | ) | const |
Definition at line 1947 of file Type.cpp.
References getDecl(), clang::NamedDecl::getIdentifier(), and clang::Type::isCanonicalUnqualified().
unsigned clang::TemplateTypeParmType::getIndex | ( | ) | const [inline] |
Definition at line 3538 of file Type.h.
Referenced by clang::Sema::CheckLiteralOperatorDeclaration(), IsStructurallyEquivalent(), isTemplateArgumentTemplateParameter(), and MarkUsedTemplateParameters().
bool clang::TemplateTypeParmType::isParameterPack | ( | ) | const [inline] |
Definition at line 3539 of file Type.h.
Referenced by IsStructurallyEquivalent().
bool clang::TemplateTypeParmType::isSugared | ( | ) | const [inline] |
void clang::TemplateTypeParmType::Profile | ( | llvm::FoldingSetNodeID & | ID | ) | [inline] |
Definition at line 3550 of file Type.h.
Referenced by clang::ASTContext::getTemplateTypeParmType().
static void clang::TemplateTypeParmType::Profile | ( | llvm::FoldingSetNodeID & | ID, |
unsigned | Depth, | ||
unsigned | Index, | ||
bool | ParameterPack, | ||
TemplateTypeParmDecl * | TTPDecl | ||
) | [inline, static] |
friend class ASTContext [friend] |
Reimplemented from clang::Type.
CanonicalTTPTInfo clang::TemplateTypeParmType::CanTTPTInfo |