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

Location information for a TemplateArgument. More...

#include <TemplateBase.h>

Collaboration diagram for clang::TemplateArgumentLocInfo:
[legend]

Public Member Functions

 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 368 of file TemplateBase.h.

Constructor & Destructor Documentation

TemplateArgumentLocInfo::TemplateArgumentLocInfo ( )

Definition at line 431 of file TemplateBase.cpp.

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

Definition at line 389 of file TemplateBase.h.

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

Definition at line 391 of file TemplateBase.h.

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

Member Function Documentation

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

Definition at line 403 of file TemplateBase.h.

Referenced by clang::ASTRecordWriter::AddTemplateArgumentLocInfo().

SourceLocation clang::TemplateArgumentLocInfo::getTemplateEllipsisLoc ( ) const
inline
SourceLocation clang::TemplateArgumentLocInfo::getTemplateNameLoc ( ) const
inline
NestedNameSpecifierLoc clang::TemplateArgumentLocInfo::getTemplateQualifierLoc ( ) const
inline

Member Data Documentation

TypeSourceInfo* clang::TemplateArgumentLocInfo::Declarator

Definition at line 383 of file TemplateBase.h.

Expr* clang::TemplateArgumentLocInfo::Expression

Definition at line 382 of file TemplateBase.h.

struct T clang::TemplateArgumentLocInfo::Template

Definition at line 381 of file TemplateBase.h.


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