|
clang
5.0.0
|
A convenient class for passing around template argument information. More...
#include "clang/AST/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 |
| llvm::ArrayRef < TemplateArgumentLoc > | arguments () 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 524 of file TemplateBase.h.
|
inline |
Definition at line 534 of file TemplateBase.h.
|
inline |
Definition at line 536 of file TemplateBase.h.
|
inline |
Definition at line 564 of file TemplateBase.h.
Referenced by clang::Sema::ActOnNumericConstant(), clang::Sema::ActOnStringLiteral(), clang::Sema::BuildStdInitializerList(), checkBuiltinTemplateIdType(), clang::Sema::CheckTemplateArgumentList(), checkTupleLikeDecomposition(), clang::ASTTemplateKWAndArgsInfo::copyInto(), clang::Sema::FindInstantiatedDecl(), getTupleLikeElementType(), isTupleLike(), lookupCoroutineHandleType(), lookupPromiseType(), clang::ASTReader::ReadASTTemplateArgumentListInfo(), clang::ASTStmtReader::ReadTemplateKWAndArgsInfo(), clang::VarTemplateSpecializationDecl::setTemplateArgsInfo(), clang::TreeTransform< Derived >::TransformTemplateArguments(), clang::Sema::translateTemplateArguments(), clang::ASTNodeImporter::VisitClassTemplateSpecializationDecl(), clang::ASTNodeImporter::VisitDeclRefExpr(), and clang::ASTDeclReader::VisitFunctionDecl().
|
inline |
Definition at line 552 of file TemplateBase.h.
Referenced by clang::Sema::ActOnClassTemplateSpecialization(), clang::Sema::ActOnVarTemplateSpecialization(), clang::TemplateSpecializationType::anyDependentTemplateArguments(), clang::ASTContext::getTemplateSpecializationType(), printTemplateArgs(), and clang::VarTemplateSpecializationDecl::setTemplateArgsInfo().
|
inline |
Definition at line 548 of file TemplateBase.h.
Referenced by clang::if(), and clang::TemplateDeclInstantiator::VisitVarTemplateSpecializationDecl().
|
inline |
Definition at line 540 of file TemplateBase.h.
Referenced by clang::ASTContext::getTemplateSpecializationTypeInfo(), clang::ASTTemplateKWAndArgsInfo::initializeFrom(), clang::VarTemplateSpecializationDecl::setTemplateArgsInfo(), and clang::TemplateDeclInstantiator::VisitVarTemplateSpecializationDecl().
|
inline |
Definition at line 541 of file TemplateBase.h.
Referenced by clang::Sema::CheckTemplateArgumentList(), diagnoseArityMismatch(), clang::ASTContext::getTemplateSpecializationTypeInfo(), clang::ASTTemplateKWAndArgsInfo::initializeFrom(), clang::VarTemplateSpecializationDecl::setTemplateArgsInfo(), and clang::TemplateDeclInstantiator::VisitVarTemplateSpecializationDecl().
|
inline |
Definition at line 556 of file TemplateBase.h.
References I.
|
inline |
Definition at line 560 of file TemplateBase.h.
References I.
|
inline |
Definition at line 543 of file TemplateBase.h.
Referenced by clang::Sema::ActOnFunctionDeclarator(), clang::ASTTemplateKWAndArgsInfo::copyInto(), clang::Sema::DecomposeUnqualifiedId(), clang::ASTStmtReader::ReadTemplateKWAndArgsInfo(), clang::VarTemplateSpecializationDecl::setTemplateArgsInfo(), clang::TreeTransform< Derived >::TransformDependentTemplateSpecializationType(), clang::ASTDeclReader::VisitFunctionDecl(), and clang::TemplateDeclInstantiator::VisitVarTemplateSpecializationDecl().
|
inline |
Definition at line 544 of file TemplateBase.h.
Referenced by clang::Sema::ActOnFunctionDeclarator(), clang::ASTTemplateKWAndArgsInfo::copyInto(), clang::Sema::DecomposeUnqualifiedId(), clang::ASTStmtReader::ReadTemplateKWAndArgsInfo(), clang::VarTemplateSpecializationDecl::setTemplateArgsInfo(), clang::TreeTransform< Derived >::TransformDependentTemplateSpecializationType(), clang::ASTDeclReader::VisitFunctionDecl(), and clang::TemplateDeclInstantiator::VisitVarTemplateSpecializationDecl().
|
inline |
Definition at line 546 of file TemplateBase.h.
Referenced by clang::Sema::ActOnClassTemplateSpecialization(), clang::Sema::ActOnCXXNestedNameSpecifier(), clang::Sema::ActOnTypenameType(), clang::Sema::ActOnVarTemplateSpecialization(), clang::Sema::CheckTemplateArgumentList(), clang::ASTTemplateArgumentListInfo::Create(), clang::DependentFunctionTemplateSpecializationInfo::Create(), clang::DeclRefExpr::Create(), clang::MemberExpr::Create(), clang::UnresolvedLookupExpr::Create(), clang::DependentScopeDeclRefExpr::Create(), clang::CXXDependentScopeMemberExpr::Create(), clang::UnresolvedMemberExpr::Create(), diagnoseArityMismatch(), clang::Sema::DiagnoseEmptyLookup(), FinishTemplateArgumentDeduction(), clang::ASTContext::getDependentTemplateSpecializationType(), clang::ASTContext::getTemplateSpecializationType(), clang::if(), clang::ASTTemplateKWAndArgsInfo::initializeFrom(), clang::TemplateDeclInstantiator::InstantiateClassTemplatePartialSpecialization(), clang::TemplateDeclInstantiator::InstantiateVarTemplatePartialSpecialization(), clang::Sema::SubstituteExplicitTemplateArguments(), clang::TreeTransform< Derived >::TransformDependentTemplateSpecializationType(), and clang::TemplateDeclInstantiator::VisitVarTemplateSpecializationDecl().
1.8.6