clang  6.0.0svn
Classes | Public Member Functions | List of all members
clang::TemplateArgumentLocInfo Struct Reference

Location information for a TemplateArgument. More...

#include "clang/AST/TemplateBase.h"

Collaboration diagram for clang::TemplateArgumentLocInfo:
Collaboration graph
[legend]

Public Member Functions

constexpr TemplateArgumentLocInfo ()
 
 TemplateArgumentLocInfo (TypeSourceInfo *TInfo)
 
 TemplateArgumentLocInfo (Expr *E)
 
 TemplateArgumentLocInfo (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 393 of file TemplateBase.h.

Constructor & Destructor Documentation

◆ TemplateArgumentLocInfo() [1/4]

constexpr clang::TemplateArgumentLocInfo::TemplateArgumentLocInfo ( )
inline

Definition at line 411 of file TemplateBase.h.

◆ TemplateArgumentLocInfo() [2/4]

clang::TemplateArgumentLocInfo::TemplateArgumentLocInfo ( TypeSourceInfo TInfo)
inline

Definition at line 413 of file TemplateBase.h.

◆ TemplateArgumentLocInfo() [3/4]

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

Definition at line 415 of file TemplateBase.h.

◆ TemplateArgumentLocInfo() [4/4]

clang::TemplateArgumentLocInfo::TemplateArgumentLocInfo ( NestedNameSpecifierLoc  QualifierLoc,
SourceLocation  TemplateNameLoc,
SourceLocation  EllipsisLoc 
)
inline

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

Member Data Documentation

◆ Declarator

TypeSourceInfo* clang::TemplateArgumentLocInfo::Declarator

Definition at line 407 of file TemplateBase.h.

◆ Expression

Expr* clang::TemplateArgumentLocInfo::Expression

Definition at line 406 of file TemplateBase.h.

◆ Template

struct T clang::TemplateArgumentLocInfo::Template

Definition at line 405 of file TemplateBase.h.


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