clang 20.0.0git
|
Location wrapper for a TemplateArgument. More...
#include "clang/AST/TemplateBase.h"
Location wrapper for a TemplateArgument.
TemplateArgument is to TemplateArgumentLoc as Type is to TypeLoc.
Definition at line 524 of file TemplateBase.h.
|
inline |
Definition at line 529 of file TemplateBase.h.
|
inline |
Definition at line 531 of file TemplateBase.h.
|
inline |
Definition at line 535 of file TemplateBase.h.
References clang::TemplateArgument::getKind(), and clang::TemplateArgument::Type.
|
inline |
|
inline |
Definition at line 552 of file TemplateBase.h.
References clang::TemplateArgument::getKind(), clang::TemplateArgument::Template, and clang::TemplateArgument::TemplateExpansion.
|
inline |
Definition at line 574 of file TemplateBase.h.
Referenced by clang::Sema::ActOnTemplateTemplateParameter(), clang::ASTRecordWriter::AddTemplateArgumentLoc(), clang::Sema::CheckTemplateArgument(), clang::Sema::CheckTemplateArgumentList(), clang::Sema::CheckTemplateTemplateArgument(), clang::Sema::CheckTemplateTypeArgument(), ConvertDeducedTemplateArguments(), clang::ODRDiagsEmitter::diagnoseMismatch(), clang::Sema::DiagnoseUnexpandedParameterPack(), clang::ASTNodeTraverser< Derived, NodeDelegateType >::dumpTemplateArgumentLoc(), getArgument(), clang::comments::getFunctionTypeLoc(), clang::Sema::getTemplateArgumentPackExpansionPattern(), clang::ASTNodeImporter::import(), isEnableIf(), IsStructurallyEquivalent(), printArgument(), clang::TreeTransform< Derived >::RebuildPackExpansion(), clang::TemplateTypeParmDecl::setDefaultArgument(), clang::NonTypeTemplateParmDecl::setDefaultArgument(), clang::TemplateTemplateParmDecl::setDefaultArgument(), SubstDefaultTemplateArgument(), clang::TreeTransform< Derived >::TransformTemplateArgument(), and clang::RecursiveASTVisitor< Derived >::TraverseTemplateArgumentLoc().
|
inline |
Definition at line 563 of file TemplateBase.h.
References clang::SourceRange::getBegin(), clang::TemplateArgument::getKind(), getSourceRange(), getTemplateNameLoc(), clang::TemplateArgument::Template, and clang::TemplateArgument::TemplateExpansion.
Referenced by clang::Sema::ActOnClassTemplateSpecialization(), clang::Sema::ActOnTemplateTemplateParameter(), clang::Sema::CheckTemplateArgument(), clang::Sema::CheckTemplateParameterList(), clang::Sema::CheckTemplateTemplateArgument(), clang::Sema::DiagnoseUnexpandedParameterPack(), clang::TemplateTypeParmDecl::getDefaultArgumentLoc(), and clang::TemplateTemplateParmDecl::getDefaultArgumentLoc().
|
inline |
Definition at line 576 of file TemplateBase.h.
Referenced by clang::ASTRecordWriter::AddTemplateArgumentLoc(), and clang::ASTNodeImporter::import().
|
inline |
Definition at line 589 of file TemplateBase.h.
References clang::TemplateArgument::Declaration, clang::TemplateArgumentLocInfo::getAsExpr(), and clang::TemplateArgument::getKind().
Referenced by getSourceRange().
|
inline |
Definition at line 584 of file TemplateBase.h.
References clang::TemplateArgument::Expression, clang::TemplateArgumentLocInfo::getAsExpr(), and clang::TemplateArgument::getKind().
Referenced by getSourceRange(), isEnableIf(), clang::TreeTransform< Derived >::RebuildPackExpansion(), clang::TreeTransform< Derived >::TransformTemplateArgument(), and clang::RecursiveASTVisitor< Derived >::TraverseTemplateArgumentLoc().
|
inline |
Definition at line 599 of file TemplateBase.h.
References clang::TemplateArgumentLocInfo::getAsExpr(), clang::TemplateArgument::getKind(), and clang::TemplateArgument::Integral.
Referenced by getSourceRange().
|
inline |
Definition at line 594 of file TemplateBase.h.
References clang::TemplateArgumentLocInfo::getAsExpr(), clang::TemplateArgument::getKind(), and clang::TemplateArgument::NullPtr.
Referenced by getSourceRange().
SourceRange TemplateArgumentLoc::getSourceRange | ( | ) | const |
Definition at line 581 of file TemplateBase.cpp.
References clang::TemplateArgument::Declaration, clang::TemplateArgument::Expression, clang::TemplateArgument::getKind(), getSourceDeclExpression(), getSourceExpression(), getSourceIntegralExpression(), getSourceNullPtrExpression(), clang::Stmt::getSourceRange(), getSourceStructuralValueExpression(), getTemplateEllipsisLoc(), getTemplateNameLoc(), getTemplateQualifierLoc(), getTypeSourceInfo(), clang::TemplateArgument::Integral, clang::TemplateArgument::Null, clang::TemplateArgument::NullPtr, clang::TemplateArgument::Pack, clang::TemplateArgument::StructuralValue, clang::TemplateArgument::Template, clang::TemplateArgument::TemplateExpansion, and clang::TemplateArgument::Type.
Referenced by clang::Sema::ActOnClassTemplateSpecialization(), clang::Sema::ActOnTemplateTemplateParameter(), clang::Sema::CheckTemplateArgument(), clang::Sema::CheckTemplateParameterList(), clang::Sema::CheckTemplateTemplateArgument(), clang::Sema::CheckTemplateTypeArgument(), clang::ASTNodeTraverser< Derived, NodeDelegateType >::dumpTemplateArgumentLoc(), clang::NonTypeTemplateParmDecl::getDefaultArgumentLoc(), getLocation(), clang::TemplateTemplateParmDecl::getSourceRange(), isEnableIf(), and clang::TreeTransform< Derived >::TransformTemplateArguments().
|
inline |
Definition at line 604 of file TemplateBase.h.
References clang::TemplateArgumentLocInfo::getAsExpr(), clang::TemplateArgument::getKind(), and clang::TemplateArgument::StructuralValue.
Referenced by getSourceRange().
|
inline |
Definition at line 623 of file TemplateBase.h.
References clang::TemplateArgument::getKind(), clang::TemplateArgumentLocInfo::getTemplateEllipsisLoc(), and clang::TemplateArgument::TemplateExpansion.
Referenced by clang::Sema::CheckTemplateArgument(), getSourceRange(), and clang::Sema::getTemplateArgumentPackExpansionPattern().
|
inline |
Definition at line 616 of file TemplateBase.h.
References clang::TemplateArgument::getKind(), clang::TemplateArgumentLocInfo::getTemplateNameLoc(), clang::TemplateArgument::Template, and clang::TemplateArgument::TemplateExpansion.
Referenced by clang::Sema::CheckTemplateArgument(), getLocation(), getSourceRange(), clang::Sema::getTemplateArgumentPackExpansionPattern(), clang::TreeTransform< Derived >::RebuildPackExpansion(), SubstDefaultTemplateArgument(), clang::Sema::SubstDefaultTemplateArgumentIfAvailable(), and clang::TreeTransform< Derived >::TransformTemplateArgument().
|
inline |
Definition at line 609 of file TemplateBase.h.
References clang::TemplateArgument::getKind(), clang::TemplateArgumentLocInfo::getTemplateQualifierLoc(), clang::TemplateArgument::Template, and clang::TemplateArgument::TemplateExpansion.
Referenced by clang::Sema::CheckTemplateArgument(), getSourceRange(), clang::Sema::getTemplateArgumentPackExpansionPattern(), clang::TreeTransform< Derived >::RebuildPackExpansion(), SubstDefaultTemplateArgument(), clang::Sema::SubstDefaultTemplateArgumentIfAvailable(), clang::TreeTransform< Derived >::TransformTemplateArgument(), and clang::RecursiveASTVisitor< Derived >::TraverseTemplateArgumentLoc().
|
inline |
Definition at line 578 of file TemplateBase.h.
References clang::TemplateArgumentLocInfo::getAsTypeSourceInfo(), clang::TemplateArgument::getKind(), and clang::TemplateArgument::Type.
Referenced by clang::Sema::CheckTemplateArgument(), clang::Sema::CheckTemplateTypeArgument(), clang::comments::getFunctionTypeLoc(), getSourceRange(), clang::Sema::getTemplateArgumentPackExpansionPattern(), printArgument(), clang::TreeTransform< Derived >::RebuildPackExpansion(), clang::TreeTransform< Derived >::TransformTemplateArgument(), and clang::RecursiveASTVisitor< Derived >::TraverseTemplateArgumentLoc().