clang
15.0.0git
|
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 563 of file TemplateBase.h.
|
default |
|
inline |
Definition at line 571 of file TemplateBase.h.
|
inline |
Definition at line 603 of file TemplateBase.h.
Referenced by clang::Sema::ActOnNumericConstant(), clang::Sema::ActOnStringLiteral(), clang::Sema::BuildStdInitializerList(), checkBuiltinTemplateIdType(), clang::ASTTemplateKWAndArgsInfo::copyInto(), clang::Sema::FindInstantiatedDecl(), clang::Sema::isTemplateTemplateParameterAtLeastAsSpecializedAs(), clang::ASTRecordReader::readASTTemplateArgumentListInfo(), clang::ASTStmtReader::ReadTemplateKWAndArgsInfo(), clang::VarTemplateSpecializationDecl::setTemplateArgsInfo(), clang::Sema::translateTemplateArguments(), and clang::ASTDeclReader::VisitFunctionDecl().
|
inline |
Definition at line 591 of file TemplateBase.h.
Referenced by clang::Sema::ActOnDependentMemberExpr(), clang::TemplateSpecializationType::anyDependentTemplateArguments(), clang::Sema::BuildTypeConstraint(), clang::ASTContext::getTemplateSpecializationType(), clang::ASTNodeImporter::ImportTemplateArgumentListInfo(), printTemplateArgs(), clang::VarTemplateSpecializationDecl::setTemplateArgsInfo(), and clang::TemplateDeclInstantiator::VisitVarTemplateSpecializationDecl().
|
inline |
Definition at line 587 of file TemplateBase.h.
|
inline |
Definition at line 579 of file TemplateBase.h.
Referenced by clang::Sema::AttachTypeConstraint(), clang::ASTNodeImporter::ImportTemplateArgumentListInfo(), clang::ASTTemplateKWAndArgsInfo::initializeFrom(), clang::VarTemplateSpecializationDecl::setTemplateArgsInfo(), and clang::TemplateDeclInstantiator::VisitVarTemplateSpecializationDecl().
|
inline |
Definition at line 580 of file TemplateBase.h.
Referenced by clang::Sema::AttachTypeConstraint(), clang::Sema::CheckTemplateArgumentList(), clang::ASTNodeImporter::ImportTemplateArgumentListInfo(), clang::ASTTemplateKWAndArgsInfo::initializeFrom(), clang::VarTemplateSpecializationDecl::setTemplateArgsInfo(), and clang::TemplateDeclInstantiator::VisitVarTemplateSpecializationDecl().
|
delete |
|
inline |
Definition at line 599 of file TemplateBase.h.
|
inline |
Definition at line 595 of file TemplateBase.h.
|
inline |
Definition at line 582 of file TemplateBase.h.
Referenced by clang::ASTTemplateKWAndArgsInfo::copyInto(), clang::Sema::DecomposeUnqualifiedId(), clang::ASTStmtReader::ReadTemplateKWAndArgsInfo(), clang::VarTemplateSpecializationDecl::setTemplateArgsInfo(), clang::Sema::SubstTypeConstraint(), clang::TreeTransform< Derived >::TransformDependentTemplateSpecializationType(), clang::ASTDeclReader::VisitFunctionDecl(), and clang::TemplateDeclInstantiator::VisitVarTemplateSpecializationDecl().
|
inline |
Definition at line 583 of file TemplateBase.h.
Referenced by clang::ASTTemplateKWAndArgsInfo::copyInto(), clang::Sema::DecomposeUnqualifiedId(), clang::ASTStmtReader::ReadTemplateKWAndArgsInfo(), clang::VarTemplateSpecializationDecl::setTemplateArgsInfo(), clang::Sema::SubstTypeConstraint(), clang::TreeTransform< Derived >::TransformDependentTemplateSpecializationType(), clang::ASTDeclReader::VisitFunctionDecl(), and clang::TemplateDeclInstantiator::VisitVarTemplateSpecializationDecl().
|
inline |
Definition at line 585 of file TemplateBase.h.
Referenced by clang::Sema::CheckTemplateArgumentList(), clang::DependentFunctionTemplateSpecializationInfo::Create(), clang::DeclRefExpr::Create(), clang::UnresolvedLookupExpr::Create(), clang::DependentScopeDeclRefExpr::Create(), clang::CXXDependentScopeMemberExpr::Create(), clang::ASTContext::getTemplateSpecializationType(), clang::ASTTemplateKWAndArgsInfo::initializeFrom(), clang::TemplateDeclInstantiator::InstantiateClassTemplatePartialSpecialization(), clang::TemplateDeclInstantiator::InstantiateVarTemplatePartialSpecialization(), clang::Sema::SubstituteExplicitTemplateArguments(), and clang::TreeTransform< Derived >::TransformDependentTemplateSpecializationType().