clang API Documentation
#include <Type.h>
Public Types | |
typedef const TemplateArgument * | iterator |
Public Member Functions | |
NestedNameSpecifier * | getQualifier () const |
const IdentifierInfo * | getIdentifier () const |
const TemplateArgument * | getArgs () const |
Retrieve the template arguments. | |
unsigned | getNumArgs () const |
Retrieve the number of template arguments. | |
const TemplateArgument & | getArg (unsigned Idx) const |
iterator | begin () const |
iterator | end () const |
bool | isSugared () const |
QualType | desugar () const |
void | Profile (llvm::FoldingSetNodeID &ID, const ASTContext &Context) |
Static Public Member Functions | |
static void | Profile (llvm::FoldingSetNodeID &ID, const ASTContext &Context, ElaboratedTypeKeyword Keyword, NestedNameSpecifier *Qualifier, const IdentifierInfo *Name, unsigned NumArgs, const TemplateArgument *Args) |
static bool | classof (const Type *T) |
Friends | |
class | ASTContext |
DependentTemplateSpecializationType - Represents a template specialization type whose template cannot be resolved, e.g. A<T>::template B<T>
iterator clang::DependentTemplateSpecializationType::begin | ( | ) | const [inline] |
static bool clang::DependentTemplateSpecializationType::classof | ( | const Type * | T | ) | [inline, static] |
Reimplemented from clang::TypeWithKeyword.
Definition at line 4203 of file Type.h.
References clang::Type::getTypeClass().
QualType clang::DependentTemplateSpecializationType::desugar | ( | ) | const [inline] |
DependentTemplateSpecializationType::iterator clang::DependentTemplateSpecializationType::end | ( | ) | const [inline] |
Definition at line 653 of file TemplateBase.h.
const TemplateArgument & clang::DependentTemplateSpecializationType::getArg | ( | unsigned | Idx | ) | const [inline] |
Definition at line 664 of file TemplateBase.h.
Referenced by IsStructurallyEquivalent(), and MarkUsedTemplateParameters().
const TemplateArgument* clang::DependentTemplateSpecializationType::getArgs | ( | ) | const [inline] |
Retrieve the template arguments.
Definition at line 4175 of file Type.h.
Referenced by MarkUsedTemplateParameters().
const IdentifierInfo* clang::DependentTemplateSpecializationType::getIdentifier | ( | ) | const [inline] |
Definition at line 4172 of file Type.h.
Referenced by IsStructurallyEquivalent(), and clang::TreeTransform< Derived >::TransformDependentTemplateSpecializationType().
unsigned clang::DependentTemplateSpecializationType::getNumArgs | ( | ) | const [inline] |
Retrieve the number of template arguments.
Definition at line 4180 of file Type.h.
Referenced by IsStructurallyEquivalent(), and MarkUsedTemplateParameters().
NestedNameSpecifier* clang::DependentTemplateSpecializationType::getQualifier | ( | ) | const [inline] |
Definition at line 4171 of file Type.h.
Referenced by IsStructurallyEquivalent(), and MarkUsedTemplateParameters().
bool clang::DependentTemplateSpecializationType::isSugared | ( | ) | const [inline] |
void clang::DependentTemplateSpecializationType::Profile | ( | llvm::FoldingSetNodeID & | ID, |
const ASTContext & | Context | ||
) | [inline] |
Definition at line 4191 of file Type.h.
Referenced by clang::ASTContext::getDependentTemplateSpecializationType(), and Profile().
void DependentTemplateSpecializationType::Profile | ( | llvm::FoldingSetNodeID & | ID, |
const ASTContext & | Context, | ||
ElaboratedTypeKeyword | Keyword, | ||
NestedNameSpecifier * | Qualifier, | ||
const IdentifierInfo * | Name, | ||
unsigned | NumArgs, | ||
const TemplateArgument * | Args | ||
) | [static] |
friend class ASTContext [friend] |
Reimplemented from clang::Type.