clang API Documentation
Location information for a TemplateArgument. More...
#include <TemplateBase.h>
Classes | |
struct | T |
Public Member Functions | |
TemplateArgumentLocInfo () | |
TemplateArgumentLocInfo (TypeSourceInfo *TInfo) | |
TemplateArgumentLocInfo (Expr *E) | |
TemplateArgumentLocInfo (NestedNameSpecifierLoc QualifierLoc, SourceLocation TemplateNameLoc, SourceLocation EllipsisLoc) | |
TypeSourceInfo * | getAsTypeSourceInfo () const |
Expr * | getAsExpr () const |
NestedNameSpecifierLoc | getTemplateQualifierLoc () const |
SourceLocation | getTemplateNameLoc () const |
SourceLocation | getTemplateEllipsisLoc () const |
Location information for a TemplateArgument.
Definition at line 364 of file TemplateBase.h.
Definition at line 409 of file TemplateBase.cpp.
clang::TemplateArgumentLocInfo::TemplateArgumentLocInfo | ( | TypeSourceInfo * | TInfo | ) | [inline] |
Definition at line 385 of file TemplateBase.h.
clang::TemplateArgumentLocInfo::TemplateArgumentLocInfo | ( | Expr * | E | ) | [inline] |
Definition at line 387 of file TemplateBase.h.
clang::TemplateArgumentLocInfo::TemplateArgumentLocInfo | ( | NestedNameSpecifierLoc | QualifierLoc, |
SourceLocation | TemplateNameLoc, | ||
SourceLocation | EllipsisLoc | ||
) | [inline] |
Definition at line 389 of file TemplateBase.h.
References clang::NestedNameSpecifierLoc::getNestedNameSpecifier(), clang::NestedNameSpecifierLoc::getOpaqueData(), clang::SourceLocation::getRawEncoding(), and clang::TemplateArgument::Template.
Expr* clang::TemplateArgumentLocInfo::getAsExpr | ( | ) | const [inline] |
Definition at line 403 of file TemplateBase.h.
References clang::TemplateArgument::Expression.
Referenced by clang::ASTWriter::AddTemplateArgumentLoc(), and clang::ASTWriter::AddTemplateArgumentLocInfo().
TypeSourceInfo* clang::TemplateArgumentLocInfo::getAsTypeSourceInfo | ( | ) | const [inline] |
Definition at line 399 of file TemplateBase.h.
Referenced by clang::ASTWriter::AddTemplateArgumentLocInfo().
SourceLocation clang::TemplateArgumentLocInfo::getTemplateEllipsisLoc | ( | ) | const [inline] |
Definition at line 416 of file TemplateBase.h.
References clang::SourceLocation::getFromRawEncoding(), and clang::TemplateArgument::Template.
Referenced by clang::ASTWriter::AddTemplateArgumentLocInfo().
SourceLocation clang::TemplateArgumentLocInfo::getTemplateNameLoc | ( | ) | const [inline] |
Definition at line 412 of file TemplateBase.h.
References clang::SourceLocation::getFromRawEncoding(), and clang::TemplateArgument::Template.
Referenced by clang::ASTWriter::AddTemplateArgumentLocInfo().
NestedNameSpecifierLoc clang::TemplateArgumentLocInfo::getTemplateQualifierLoc | ( | ) | const [inline] |
Definition at line 407 of file TemplateBase.h.
References clang::TemplateArgument::Template.
Referenced by clang::ASTWriter::AddTemplateArgumentLocInfo().
Definition at line 379 of file TemplateBase.h.
Definition at line 378 of file TemplateBase.h.
Definition at line 377 of file TemplateBase.h.