A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://clang.llvm.org/doxygen/structclang_1_1TemplateIdAnnotation.html below:

clang: clang::TemplateIdAnnotation Struct Reference

Information about a template-id annotation token. More...

#include "clang/Sema/ParsedTemplate.h"

static TemplateIdAnnotationCreate (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)   Creates a new TemplateIdAnnotation with NumArgs arguments and appends it to List.
 

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 IdentifierInfoName, OverloadedOperatorKind  OperatorKind, ParsedTemplateTy  OpaqueTemplateName, TemplateNameKind  TemplateKind, SourceLocation  LAngleLoc, SourceLocation  RAngleLoc, ArrayRef< ParsedTemplateArgumentTemplateArgs, 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 ◆ LAngleLoc

The 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 ◆ Operator

FIXME: Temporarily stores the overloaded operator kind.

Definition at line 165 of file ParsedTemplate.h.

◆ RAngleLoc

The 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 ◆ TemplateNameLoc

TemplateNameLoc - 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::TrailingObjects

Definition 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