clang API Documentation
#include <TemplateBase.h>
Public Member Functions | |
TemplateArgumentListInfo () | |
TemplateArgumentListInfo (SourceLocation LAngleLoc, SourceLocation RAngleLoc) | |
SourceLocation | getLAngleLoc () const |
SourceLocation | getRAngleLoc () const |
void | setLAngleLoc (SourceLocation Loc) |
void | setRAngleLoc (SourceLocation Loc) |
unsigned | size () const |
const TemplateArgumentLoc * | getArgumentArray () const |
const TemplateArgumentLoc & | operator[] (unsigned I) const |
TemplateArgumentLoc & | operator[] (unsigned I) |
void | addArgument (const TemplateArgumentLoc &Loc) |
A convenient class for passing around template argument information. Designed to be passed by reference.
Definition at line 519 of file TemplateBase.h.
Definition at line 529 of file TemplateBase.h.
clang::TemplateArgumentListInfo::TemplateArgumentListInfo | ( | SourceLocation | LAngleLoc, |
SourceLocation | RAngleLoc | ||
) | [inline] |
Definition at line 531 of file TemplateBase.h.
void clang::TemplateArgumentListInfo::addArgument | ( | const TemplateArgumentLoc & | Loc | ) | [inline] |
Definition at line 555 of file TemplateBase.h.
Referenced by clang::Sema::ActOnNumericConstant(), clang::Sema::ActOnStringLiteral(), clang::Sema::BuildStdInitializerList(), clang::Sema::CheckTemplateArgumentList(), clang::ASTTemplateArgumentListInfo::copyInto(), clang::ASTReader::ReadASTTemplateArgumentListInfo(), clang::ASTStmtReader::ReadTemplateKWAndArgsInfo(), clang::VarTemplateSpecializationDecl::setTemplateArgsInfo(), clang::TreeTransform< Derived >::TransformTemplateArguments(), clang::Sema::translateTemplateArguments(), and clang::ASTDeclReader::VisitFunctionDecl().
const TemplateArgumentLoc* clang::TemplateArgumentListInfo::getArgumentArray | ( | ) | const [inline] |
Definition at line 543 of file TemplateBase.h.
Referenced by clang::Sema::ActOnClassTemplateSpecialization(), clang::Sema::ActOnFunctionDeclarator(), clang::Sema::ActOnVarTemplateSpecialization(), clang::TemplateSpecializationType::anyDependentTemplateArguments(), clang::TemplateSpecializationType::PrintTemplateArgumentList(), and clang::TemplateDeclInstantiator::VisitVarTemplateSpecializationDecl().
SourceLocation clang::TemplateArgumentListInfo::getLAngleLoc | ( | ) | const [inline] |
Definition at line 535 of file TemplateBase.h.
Referenced by clang::ASTContext::getTemplateSpecializationTypeInfo(), clang::ASTTemplateArgumentListInfo::initializeFrom(), clang::VarTemplateSpecializationDecl::setTemplateArgsInfo(), and clang::TemplateDeclInstantiator::VisitVarTemplateSpecializationDecl().
SourceLocation clang::TemplateArgumentListInfo::getRAngleLoc | ( | ) | const [inline] |
Definition at line 536 of file TemplateBase.h.
Referenced by clang::Sema::CheckTemplateArgumentList(), diagnoseArityMismatch(), clang::ASTContext::getTemplateSpecializationTypeInfo(), clang::ASTTemplateArgumentListInfo::initializeFrom(), clang::VarTemplateSpecializationDecl::setTemplateArgsInfo(), and clang::TemplateDeclInstantiator::VisitVarTemplateSpecializationDecl().
const TemplateArgumentLoc& clang::TemplateArgumentListInfo::operator[] | ( | unsigned | I | ) | const [inline] |
Definition at line 547 of file TemplateBase.h.
TemplateArgumentLoc& clang::TemplateArgumentListInfo::operator[] | ( | unsigned | I | ) | [inline] |
Definition at line 551 of file TemplateBase.h.
void clang::TemplateArgumentListInfo::setLAngleLoc | ( | SourceLocation | Loc | ) | [inline] |
Definition at line 538 of file TemplateBase.h.
Referenced by clang::Sema::ActOnFunctionDeclarator(), clang::ASTTemplateArgumentListInfo::copyInto(), clang::Sema::DecomposeUnqualifiedId(), clang::ASTStmtReader::ReadTemplateKWAndArgsInfo(), clang::VarTemplateSpecializationDecl::setTemplateArgsInfo(), clang::TreeTransform< Derived >::TransformDependentTemplateSpecializationType(), clang::ASTDeclReader::VisitFunctionDecl(), and clang::TemplateDeclInstantiator::VisitVarTemplateSpecializationDecl().
void clang::TemplateArgumentListInfo::setRAngleLoc | ( | SourceLocation | Loc | ) | [inline] |
Definition at line 539 of file TemplateBase.h.
Referenced by clang::Sema::ActOnFunctionDeclarator(), clang::ASTTemplateArgumentListInfo::copyInto(), clang::Sema::DecomposeUnqualifiedId(), clang::ASTStmtReader::ReadTemplateKWAndArgsInfo(), clang::VarTemplateSpecializationDecl::setTemplateArgsInfo(), clang::TreeTransform< Derived >::TransformDependentTemplateSpecializationType(), clang::ASTDeclReader::VisitFunctionDecl(), and clang::TemplateDeclInstantiator::VisitVarTemplateSpecializationDecl().
unsigned clang::TemplateArgumentListInfo::size | ( | ) | const [inline] |
Definition at line 541 of file TemplateBase.h.
Referenced by clang::Sema::ActOnClassTemplateSpecialization(), clang::Sema::ActOnCXXNestedNameSpecifier(), clang::Sema::ActOnFunctionDeclarator(), clang::Sema::ActOnTypenameType(), clang::Sema::ActOnVarTemplateSpecialization(), clang::TemplateSpecializationType::anyDependentTemplateArguments(), clang::Sema::CheckTemplateArgumentList(), clang::ASTTemplateArgumentListInfo::Create(), clang::DeclRefExpr::Create(), clang::MemberExpr::Create(), clang::UnresolvedLookupExpr::Create(), clang::DependentScopeDeclRefExpr::Create(), clang::CXXDependentScopeMemberExpr::Create(), clang::UnresolvedMemberExpr::Create(), clang::DependentFunctionTemplateSpecializationInfo::DependentFunctionTemplateSpecializationInfo(), diagnoseArityMismatch(), clang::Sema::DiagnoseEmptyLookup(), FinishTemplateArgumentDeduction(), clang::ASTContext::getDependentTemplateSpecializationType(), clang::ASTContext::getTemplateSpecializationType(), clang::ASTTemplateArgumentListInfo::initializeFrom(), clang::TemplateSpecializationType::PrintTemplateArgumentList(), clang::FunctionDecl::setDependentTemplateSpecialization(), clang::VarTemplateSpecializationDecl::setTemplateArgsInfo(), clang::Sema::SubstituteExplicitTemplateArguments(), clang::TreeTransform< Derived >::TransformDependentTemplateSpecializationType(), and clang::TemplateDeclInstantiator::VisitVarTemplateSpecializationDecl().