clang
8.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 555 of file TemplateBase.h.
|
default |
|
inline |
Definition at line 563 of file TemplateBase.h.
References bytes().
|
inline |
Definition at line 595 of file TemplateBase.h.
Referenced by clang::Sema::BuildStdInitializerList(), checkTupleLikeDecomposition(), clang::ASTTemplateKWAndArgsInfo::copyInto(), clang::Sema::FindInstantiatedDecl(), getTupleLikeElementType(), isTupleLike(), clang::ASTStmtReader::ReadTemplateKWAndArgsInfo(), clang::VarTemplateSpecializationDecl::setTemplateArgsInfo(), clang::TreeTransform< Derived >::TransformTemplateArguments(), clang::Sema::translateTemplateArguments(), and clang::ASTDeclReader::VisitFunctionDecl().
|
inline |
Definition at line 583 of file TemplateBase.h.
Referenced by clang::TemplateSpecializationType::anyDependentTemplateArguments(), clang::ASTContext::getTemplateSpecializationType(), printTemplateArgs(), and clang::VarTemplateSpecializationDecl::setTemplateArgsInfo().
|
inline |
Definition at line 579 of file TemplateBase.h.
Referenced by clang::if(), and clang::TemplateDeclInstantiator::VisitVarTemplateSpecializationDecl().
|
inline |
Definition at line 571 of file TemplateBase.h.
Referenced by clang::ASTTemplateKWAndArgsInfo::initializeFrom(), clang::VarTemplateSpecializationDecl::setTemplateArgsInfo(), and clang::TemplateDeclInstantiator::VisitVarTemplateSpecializationDecl().
|
inline |
|
delete |
|
inline |
Definition at line 587 of file TemplateBase.h.
|
inline |
Definition at line 591 of file TemplateBase.h.
|
inline |
Definition at line 574 of file TemplateBase.h.
Referenced by clang::ASTTemplateKWAndArgsInfo::copyInto(), clang::Sema::DecomposeUnqualifiedId(), clang::ASTStmtReader::ReadTemplateKWAndArgsInfo(), clang::VarTemplateSpecializationDecl::setTemplateArgsInfo(), clang::TreeTransform< Derived >::TransformDependentTemplateSpecializationType(), clang::TreeTransform< Derived >::TransformOMPExecutableDirective(), clang::ASTDeclReader::VisitFunctionDecl(), and clang::TemplateDeclInstantiator::VisitVarTemplateSpecializationDecl().
|
inline |
Definition at line 575 of file TemplateBase.h.
Referenced by clang::ASTTemplateKWAndArgsInfo::copyInto(), clang::Sema::DecomposeUnqualifiedId(), clang::ASTStmtReader::ReadTemplateKWAndArgsInfo(), clang::VarTemplateSpecializationDecl::setTemplateArgsInfo(), clang::TreeTransform< Derived >::TransformDependentTemplateSpecializationType(), clang::TreeTransform< Derived >::TransformOMPExecutableDirective(), clang::ASTDeclReader::VisitFunctionDecl(), and clang::TemplateDeclInstantiator::VisitVarTemplateSpecializationDecl().
|
inline |
Definition at line 577 of file TemplateBase.h.
Referenced by clang::Sema::CheckTemplateArgumentList(), clang::MemberExpr::Create(), clang::UnresolvedLookupExpr::Create(), clang::DependentScopeDeclRefExpr::Create(), clang::CXXDependentScopeMemberExpr::Create(), clang::UnresolvedMemberExpr::Create(), 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().