clang 20.0.0git
Classes | Public Member Functions | List of all members
clang::TemplateArgumentLocInfo Struct Reference

Location information for a TemplateArgument. More...

#include "clang/AST/TemplateBase.h"

Public Member Functions

 TemplateArgumentLocInfo ()
 
 TemplateArgumentLocInfo (TypeSourceInfo *Declarator)
 
 TemplateArgumentLocInfo (Expr *E)
 
 TemplateArgumentLocInfo (ASTContext &Ctx, NestedNameSpecifierLoc QualifierLoc, SourceLocation TemplateNameLoc, SourceLocation EllipsisLoc)
 
TypeSourceInfogetAsTypeSourceInfo () const
 
ExprgetAsExpr () const
 
NestedNameSpecifierLoc getTemplateQualifierLoc () const
 
SourceLocation getTemplateNameLoc () const
 
SourceLocation getTemplateEllipsisLoc () const
 

Detailed Description

Location information for a TemplateArgument.

Definition at line 472 of file TemplateBase.h.

Constructor & Destructor Documentation

◆ TemplateArgumentLocInfo() [1/4]

clang::TemplateArgumentLocInfo::TemplateArgumentLocInfo ( )
inline

Definition at line 491 of file TemplateBase.h.

◆ TemplateArgumentLocInfo() [2/4]

clang::TemplateArgumentLocInfo::TemplateArgumentLocInfo ( TypeSourceInfo Declarator)
inline

Definition at line 492 of file TemplateBase.h.

◆ TemplateArgumentLocInfo() [3/4]

clang::TemplateArgumentLocInfo::TemplateArgumentLocInfo ( Expr E)
inline

Definition at line 494 of file TemplateBase.h.

References E.

◆ TemplateArgumentLocInfo() [4/4]

clang::TemplateArgumentLocInfo::TemplateArgumentLocInfo ( ASTContext Ctx,
NestedNameSpecifierLoc  QualifierLoc,
SourceLocation  TemplateNameLoc,
SourceLocation  EllipsisLoc 
)

Member Function Documentation

◆ getAsExpr()

Expr * clang::TemplateArgumentLocInfo::getAsExpr ( ) const
inline

◆ getAsTypeSourceInfo()

TypeSourceInfo * clang::TemplateArgumentLocInfo::getAsTypeSourceInfo ( ) const
inline

◆ getTemplateEllipsisLoc()

SourceLocation clang::TemplateArgumentLocInfo::getTemplateEllipsisLoc ( ) const
inline

◆ getTemplateNameLoc()

SourceLocation clang::TemplateArgumentLocInfo::getTemplateNameLoc ( ) const
inline

◆ getTemplateQualifierLoc()

NestedNameSpecifierLoc clang::TemplateArgumentLocInfo::getTemplateQualifierLoc ( ) const
inline

The documentation for this struct was generated from the following files: