clang 20.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::Sema::ActOnNumericConstant(), clang::Sema::ActOnStringLiteral(), clang::Sema::BuildStdInitializerList(), checkBuiltinTemplateIdType(), CheckDeducedPlaceholderConstraints(), clang::Sema::CheckTemplateArgumentList(), checkTupleLikeDecomposition(), clang::ASTTemplateKWAndArgsInfo::copyInto(), createTrivialConceptReference(), clang::Sema::FindInstantiatedDecl(), formImmediatelyDeclaredConstraint(), getTupleLikeElementType(), clang::ASTNodeImporter::ImportTemplateArgumentListInfo(), clang::Sema::InstantiateVariableDefinition(), InventTemplateParameter(), clang::Sema::isTemplateTemplateParameterAtLeastAsSpecializedAs(), isTupleLike(), lookupCoroutineHandleType(), lookupPromiseType(), clang::ASTStmtReader::ReadTemplateKWAndArgsInfo(), clang::TreeTransform< Derived >::TransformTemplateArguments(), and clang::Sema::translateTemplateArguments().
|
inline |
Definition at line 659 of file TemplateBase.h.
Referenced by clang::Sema::ActOnCXXNestedNameSpecifier(), clang::Sema::ActOnDependentMemberExpr(), clang::Sema::ActOnFunctionDeclarator(), clang::Sema::ActOnTagTemplateIdType(), clang::Sema::ActOnTemplateIdType(), clang::Sema::ActOnTypenameType(), clang::TemplateSpecializationType::anyDependentTemplateArguments(), clang::Sema::BuildTypeConstraint(), clang::Sema::CheckTemplateIdType(), ConvertDeclSpecToType(), clang::ASTContext::getTemplateSpecializationTypeInfo(), clang::ASTNodeImporter::ImportTemplateArgumentListInfo(), InventTemplateParameter(), printTemplateArgs(), clang::printTemplateArgumentList(), clang::TreeTransform< Derived >::RebuildDependentTemplateSpecializationType(), substituteParameterMappings(), 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::Sema::AttachTypeConstraint(), clang::ASTContext::getTemplateSpecializationTypeInfo(), clang::ASTNodeImporter::ImportTemplateArgumentListInfo(), and clang::ASTTemplateKWAndArgsInfo::initializeFrom().
|
inline |
Definition at line 648 of file TemplateBase.h.
Referenced by clang::Sema::AttachTypeConstraint(), clang::Sema::BuildDependentDeclRefExpr(), clang::Sema::CheckConceptTemplateId(), clang::Sema::CheckTemplateArgumentList(), clang::ASTContext::getTemplateSpecializationTypeInfo(), 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::Sema::ActOnFunctionDeclarator(), ConvertDeclSpecToType(), clang::ASTTemplateKWAndArgsInfo::copyInto(), clang::Sema::DecomposeUnqualifiedId(), formImmediatelyDeclaredConstraint(), 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::Sema::ActOnFunctionDeclarator(), ConvertDeclSpecToType(), clang::ASTTemplateKWAndArgsInfo::copyInto(), clang::Sema::DecomposeUnqualifiedId(), formImmediatelyDeclaredConstraint(), 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::ActOnClassTemplateSpecialization(), clang::Sema::ActOnCXXNestedNameSpecifier(), clang::Sema::ActOnTypenameType(), clang::Sema::ActOnVarTemplateSpecialization(), clang::Sema::CheckTemplateArgumentList(), clang::MemberExpr::Create(), clang::UnresolvedMemberExpr::Create(), clang::UnresolvedLookupExpr::Create(), clang::DependentScopeDeclRefExpr::Create(), clang::DeclRefExpr::Create(), clang::CXXDependentScopeMemberExpr::Create(), clang::Sema::DiagnoseEmptyLookup(), FinishTemplateArgumentDeduction(), clang::ASTTemplateKWAndArgsInfo::initializeFrom(), clang::TemplateDeclInstantiator::InstantiateClassTemplatePartialSpecialization(), clang::TemplateDeclInstantiator::InstantiateVarTemplatePartialSpecialization(), clang::Sema::SubstituteExplicitTemplateArguments(), substituteParameterMappings(), and clang::TreeTransform< Derived >::TransformDependentTemplateSpecializationType().