clang  14.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 406 of file TemplateBase.h.

Constructor & Destructor Documentation

◆ TemplateArgumentLocInfo() [1/4]

clang::TemplateArgumentLocInfo::TemplateArgumentLocInfo ( )
inline

Definition at line 425 of file TemplateBase.h.

◆ TemplateArgumentLocInfo() [2/4]

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

Definition at line 426 of file TemplateBase.h.

References Pointer.

◆ TemplateArgumentLocInfo() [3/4]

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

Definition at line 428 of file TemplateBase.h.

References Pointer.

◆ 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: