clang
6.0.0
|
A convenient class for passing around template argument information. More...
#include "clang/AST/TemplateBase.h"
Public Member Functions | |
TemplateArgumentListInfo ()=default | |
TemplateArgumentListInfo (SourceLocation LAngleLoc, SourceLocation RAngleLoc) | |
void * | operator new (size_t bytes, ASTContext &C)=delete |
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 546 of file TemplateBase.h.
|
default |
|
inline |
Definition at line 554 of file TemplateBase.h.
References bytes().
|
inline |
Definition at line 586 of file TemplateBase.h.
Referenced by clang::Sema::BuildStdInitializerList(), clang::Sema::FindInstantiatedDecl(), isTupleLike(), clang::ASTReader::ReadASTTemplateArgumentListInfo(), clang::ASTStmtReader::ReadTemplateKWAndArgsInfo(), clang::VarTemplateSpecializationDecl::setTemplateArgsInfo(), clang::TreeTransform< Derived >::TransformTemplateArguments(), and clang::ASTDeclReader::VisitFunctionDecl().
|
inline |
Definition at line 574 of file TemplateBase.h.
Referenced by clang::TemplateSpecializationType::anyDependentTemplateArguments(), clang::ASTContext::getTemplateSpecializationType(), printTemplateArgs(), and clang::VarTemplateSpecializationDecl::setTemplateArgsInfo().
|
inline |
Definition at line 570 of file TemplateBase.h.
Referenced by clang::TemplateDeclInstantiator::VisitVarTemplateSpecializationDecl().
|
inline |
Definition at line 562 of file TemplateBase.h.
Referenced by clang::ASTTemplateKWAndArgsInfo::initializeFrom(), clang::VarTemplateSpecializationDecl::setTemplateArgsInfo(), and clang::TemplateDeclInstantiator::VisitVarTemplateSpecializationDecl().
|
inline |
Definition at line 563 of file TemplateBase.h.
Referenced by clang::Sema::CheckTemplateArgumentList(), diagnoseArityMismatch(), clang::ASTTemplateKWAndArgsInfo::initializeFrom(), clang::VarTemplateSpecializationDecl::setTemplateArgsInfo(), and clang::TemplateDeclInstantiator::VisitVarTemplateSpecializationDecl().
|
delete |
|
inline |
Definition at line 578 of file TemplateBase.h.
|
inline |
Definition at line 582 of file TemplateBase.h.
|
inline |
Definition at line 565 of file TemplateBase.h.
Referenced by clang::ASTTemplateKWAndArgsInfo::copyInto(), clang::ASTStmtReader::ReadTemplateKWAndArgsInfo(), clang::VarTemplateSpecializationDecl::setTemplateArgsInfo(), clang::TreeTransform< Derived >::TransformDependentTemplateSpecializationType(), clang::ASTDeclReader::VisitFunctionDecl(), and clang::TemplateDeclInstantiator::VisitVarTemplateSpecializationDecl().
|
inline |
Definition at line 566 of file TemplateBase.h.
Referenced by clang::ASTTemplateKWAndArgsInfo::copyInto(), clang::ASTStmtReader::ReadTemplateKWAndArgsInfo(), clang::VarTemplateSpecializationDecl::setTemplateArgsInfo(), clang::TreeTransform< Derived >::TransformDependentTemplateSpecializationType(), clang::ASTDeclReader::VisitFunctionDecl(), and clang::TemplateDeclInstantiator::VisitVarTemplateSpecializationDecl().
|
inline |
Definition at line 568 of file TemplateBase.h.
Referenced by clang::Sema::CheckTemplateArgumentList(), clang::MemberExpr::Create(), clang::UnresolvedLookupExpr::Create(), clang::DependentScopeDeclRefExpr::Create(), clang::CXXDependentScopeMemberExpr::Create(), clang::UnresolvedMemberExpr::Create(), diagnoseArityMismatch(), clang::ASTContext::getTemplateSpecializationType(), clang::ASTTemplateKWAndArgsInfo::initializeFrom(), clang::TemplateDeclInstantiator::InstantiateClassTemplatePartialSpecialization(), clang::TemplateDeclInstantiator::InstantiateVarTemplatePartialSpecialization(), clang::Sema::SubstituteExplicitTemplateArguments(), clang::TreeTransform< Derived >::TransformDependentTemplateSpecializationType(), and clang::TemplateDeclInstantiator::VisitVarTemplateSpecializationDecl().