clang API Documentation

Public Types | Public Member Functions | Static Public Member Functions | Friends
clang::DependentTemplateSpecializationType Class Reference

#include <Type.h>

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

List of all members.

Public Types

typedef const TemplateArgumentiterator

Public Member Functions

NestedNameSpecifiergetQualifier () const
const IdentifierInfogetIdentifier () const
const TemplateArgumentgetArgs () const
 Retrieve the template arguments.
unsigned getNumArgs () const
 Retrieve the number of template arguments.
const TemplateArgumentgetArg (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

Detailed Description

DependentTemplateSpecializationType - Represents a template specialization type whose template cannot be resolved, e.g. A<T>::template B<T>

Definition at line 4141 of file Type.h.


Member Typedef Documentation

Definition at line 4184 of file Type.h.


Member Function Documentation

Definition at line 4185 of file Type.h.

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().

Definition at line 4189 of file Type.h.

Definition at line 653 of file TemplateBase.h.

Definition at line 664 of file TemplateBase.h.

Referenced by IsStructurallyEquivalent(), and MarkUsedTemplateParameters().

Retrieve the template arguments.

Definition at line 4175 of file Type.h.

Referenced by MarkUsedTemplateParameters().

Retrieve the number of template arguments.

Definition at line 4180 of file Type.h.

Referenced by IsStructurallyEquivalent(), and MarkUsedTemplateParameters().

Definition at line 4171 of file Type.h.

Referenced by IsStructurallyEquivalent(), and MarkUsedTemplateParameters().

Definition at line 4188 of file Type.h.

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]

Definition at line 1469 of file Type.cpp.

References Profile().


Friends And Related Function Documentation

friend class ASTContext [friend]

Reimplemented from clang::Type.

Definition at line 4168 of file Type.h.


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