Information about a template-id annotation token. More...
#include "clang/Sema/ParsedTemplate.h"
Information about a template-id annotation token.
A template-id annotation token contains the template name, template arguments, and the source locations for important tokens. All of the information about template arguments is allocated directly after this structure. A template-id annotation token can also be generated by a type-constraint construct with no explicit template arguments, e.g. "template<C T>" would annotate C as a TemplateIdAnnotation with no template arguments (the angle locations would be invalid in this case).
Definition at line 149 of file ParsedTemplate.h.
◆ Create() static TemplateIdAnnotation * clang::TemplateIdAnnotation::Create ( SourceLocation TemplateKWLoc, SourceLocation TemplateNameLoc, const IdentifierInfo * Name, OverloadedOperatorKind OperatorKind, ParsedTemplateTy OpaqueTemplateName, TemplateNameKind TemplateKind, SourceLocation LAngleLoc, SourceLocation RAngleLoc, ArrayRef< ParsedTemplateArgument > TemplateArgs, bool ArgsInvalid, SmallVectorImpl< TemplateIdAnnotation * > & CleanupList ) inlinestatic ◆ Destroy() void clang::TemplateIdAnnotation::Destroy ( ) inline ◆ getTemplateArgs() ◆ hasInvalidArgs() bool clang::TemplateIdAnnotation::hasInvalidArgs ( ) const inline ◆ hasInvalidName() bool clang::TemplateIdAnnotation::hasInvalidName ( ) const inline ◆ isInvalid() bool clang::TemplateIdAnnotation::isInvalid ( ) const inline ◆ mightBeType() bool clang::TemplateIdAnnotation::mightBeType ( ) const inline ◆ ArgsInvalid bool clang::TemplateIdAnnotation::ArgsInvalid ◆ Kind ◆ LAngleLocThe location of the '<' before the template argument list.
Definition at line 178 of file ParsedTemplate.h.
Referenced by clang::Sema::ActOnClassTemplateSpecialization(), clang::Sema::ActOnFunctionDeclarator(), clang::Sema::ActOnPseudoDestructorExpr(), clang::Sema::ActOnTypeRequirement(), clang::Sema::ActOnVarTemplateSpecialization(), clang::Sema::BuildTypeConstraint(), clang::Sema::CheckTypeConstraint(), Create(), InventTemplateParameter(), makeTemplateArgumentListInfo(), clang::Sema::MatchTemplateParametersToScopeSpecifier(), clang::Parser::ParseUnqualifiedId(), and clang::Parser::TryAnnotateTypeOrScopeToken().
◆ Name ◆ NumArgs unsigned clang::TemplateIdAnnotation::NumArgs ◆ OperatorFIXME: Temporarily stores the overloaded operator kind.
Definition at line 165 of file ParsedTemplate.h.
◆ RAngleLocThe location of the '>' after the template argument list.
Definition at line 182 of file ParsedTemplate.h.
Referenced by clang::Sema::ActOnClassTemplateSpecialization(), clang::Sema::ActOnDecompositionDeclarator(), clang::Sema::ActOnFunctionDeclarator(), clang::Sema::ActOnPseudoDestructorExpr(), clang::Sema::ActOnTypeRequirement(), clang::Sema::ActOnVarTemplateSpecialization(), Create(), InventTemplateParameter(), makeTemplateArgumentListInfo(), clang::Sema::MatchTemplateParametersToScopeSpecifier(), clang::Parser::ParseUnqualifiedId(), clang::UnqualifiedId::setConstructorTemplateId(), clang::UnqualifiedId::setTemplateId(), and clang::Parser::TryAnnotateTypeOrScopeToken().
◆ Template ◆ TemplateKWLoc ◆ TemplateNameLocTemplateNameLoc - The location of the template name within the source.
Definition at line 159 of file ParsedTemplate.h.
Referenced by clang::Sema::ActOnClassTemplateSpecialization(), clang::Sema::ActOnDecompositionDeclarator(), clang::Sema::ActOnPseudoDestructorExpr(), clang::Sema::ActOnTypeRequirement(), clang::Sema::BuildTypeConstraint(), clang::Sema::CheckTypeConstraint(), Create(), InventTemplateParameter(), clang::Parser::ParseUnqualifiedId(), clang::UnqualifiedId::setConstructorTemplateId(), clang::UnqualifiedId::setTemplateId(), and clang::Parser::TryAnnotateTypeOrScopeToken().
◆ TrailingObjects friend clang::TemplateIdAnnotation::TrailingObjectsDefinition at line 152 of file ParsedTemplate.h.
The documentation for this struct was generated from the following file:
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4