clang
19.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 632 of file TemplateBase.h.
|
default |
|
inline |
Definition at line 640 of file TemplateBase.h.
|
inline |
Definition at line 667 of file TemplateBase.h.
References Loc.
Referenced by clang::ASTTemplateKWAndArgsInfo::copyInto(), clang::Sema::FindInstantiatedDecl(), clang::Sema::InstantiateVariableDefinition(), clang::Sema::isTemplateTemplateParameterAtLeastAsSpecializedAs(), clang::ASTStmtReader::ReadTemplateKWAndArgsInfo(), clang::TreeTransform< Derived >::TransformTemplateArguments(), and clang::Sema::translateTemplateArguments().
|
inline |
Definition at line 659 of file TemplateBase.h.
Referenced by clang::Sema::ActOnDependentMemberExpr(), clang::TemplateSpecializationType::anyDependentTemplateArguments(), clang::Sema::BuildTypeConstraint(), clang::ASTNodeImporter::ImportTemplateArgumentListInfo(), printTemplateArgs(), and clang::TreeTransform< Derived >::TransformDependentTemplateSpecializationType().
|
inline |
Definition at line 655 of file TemplateBase.h.
|
inline |
Definition at line 647 of file TemplateBase.h.
Referenced by clang::ASTNodeImporter::ImportTemplateArgumentListInfo(), and clang::ASTTemplateKWAndArgsInfo::initializeFrom().
|
inline |
Definition at line 648 of file TemplateBase.h.
Referenced by clang::Sema::BuildDependentDeclRefExpr(), clang::Sema::CheckTemplateArgumentList(), clang::ASTNodeImporter::ImportTemplateArgumentListInfo(), and clang::ASTTemplateKWAndArgsInfo::initializeFrom().
|
delete |
|
inline |
Definition at line 665 of file TemplateBase.h.
|
inline |
Definition at line 661 of file TemplateBase.h.
|
inline |
Definition at line 650 of file TemplateBase.h.
References Loc.
Referenced by clang::ASTTemplateKWAndArgsInfo::copyInto(), clang::Sema::DecomposeUnqualifiedId(), clang::Sema::InstantiateVariableDefinition(), clang::ASTStmtReader::ReadTemplateKWAndArgsInfo(), clang::Sema::SubstTypeConstraint(), clang::TreeTransform< Derived >::TransformDependentTemplateSpecializationType(), clang::TemplateDeclInstantiator::VisitCXXMethodDecl(), clang::TemplateDeclInstantiator::VisitFunctionDecl(), and clang::TemplateDeclInstantiator::VisitVarTemplateSpecializationDecl().
|
inline |
Definition at line 651 of file TemplateBase.h.
References Loc.
Referenced by clang::ASTTemplateKWAndArgsInfo::copyInto(), clang::Sema::DecomposeUnqualifiedId(), clang::Sema::InstantiateVariableDefinition(), clang::ASTStmtReader::ReadTemplateKWAndArgsInfo(), clang::Sema::SubstTypeConstraint(), clang::TreeTransform< Derived >::TransformDependentTemplateSpecializationType(), clang::TemplateDeclInstantiator::VisitCXXMethodDecl(), clang::TemplateDeclInstantiator::VisitFunctionDecl(), and clang::TemplateDeclInstantiator::VisitVarTemplateSpecializationDecl().
|
inline |
Definition at line 653 of file TemplateBase.h.
Referenced by clang::Sema::CheckTemplateArgumentList(), clang::CXXDependentScopeMemberExpr::Create(), clang::ASTTemplateKWAndArgsInfo::initializeFrom(), clang::TemplateDeclInstantiator::InstantiateClassTemplatePartialSpecialization(), clang::TemplateDeclInstantiator::InstantiateVarTemplatePartialSpecialization(), clang::Sema::SubstituteExplicitTemplateArguments(), and clang::TreeTransform< Derived >::TransformDependentTemplateSpecializationType().