clang 22.0.0git
|
Location information for a TemplateArgument. More...
#include "clang/AST/TemplateBase.h"
Classes | |
struct | TemplateTemplateArgLocInfo |
Public Member Functions | |
TemplateTemplateArgLocInfo * | getTemplate () const |
TemplateArgumentLocInfo () | |
TemplateArgumentLocInfo (TypeSourceInfo *Declarator) | |
TemplateArgumentLocInfo (Expr *E) | |
TemplateArgumentLocInfo (ASTContext &Ctx, SourceLocation TemplateKwLoc, NestedNameSpecifierLoc QualifierLoc, SourceLocation TemplateNameLoc, SourceLocation EllipsisLoc) | |
TypeSourceInfo * | getAsTypeSourceInfo () const |
Expr * | getAsExpr () const |
SourceLocation | getTemplateKwLoc () const |
SourceLocation | getTemplateNameLoc () const |
SourceLocation | getTemplateEllipsisLoc () const |
Location information for a TemplateArgument.
Definition at line 480 of file TemplateBase.h.
|
inline |
Definition at line 492 of file TemplateBase.h.
|
inline |
Definition at line 493 of file TemplateBase.h.
|
inline |
Definition at line 495 of file TemplateBase.h.
clang::TemplateArgumentLocInfo::TemplateArgumentLocInfo | ( | ASTContext & | Ctx, |
SourceLocation | TemplateKwLoc, | ||
NestedNameSpecifierLoc | QualifierLoc, | ||
SourceLocation | TemplateNameLoc, | ||
SourceLocation | EllipsisLoc ) |
Definition at line 727 of file TemplateBase.cpp.
References clang::NestedNameSpecifierLoc::getOpaqueData(), and clang::Template.
|
inline |
Definition at line 507 of file TemplateBase.h.
References clang::cast().
Referenced by clang::ASTRecordWriter::AddTemplateArgumentLoc(), clang::ASTRecordWriter::AddTemplateArgumentLocInfo(), and clang::ASTNodeImporter::import().
|
inline |
Definition at line 503 of file TemplateBase.h.
References clang::cast().
Referenced by clang::ASTRecordWriter::AddTemplateArgumentLocInfo(), and clang::ASTNodeImporter::import().
|
inline |
Definition at line 488 of file TemplateBase.h.
References clang::cast().
Referenced by getTemplateEllipsisLoc(), getTemplateKwLoc(), and getTemplateNameLoc().
|
inline |
Definition at line 517 of file TemplateBase.h.
References clang::TemplateArgumentLocInfo::TemplateTemplateArgLocInfo::EllipsisLoc, and getTemplate().
Referenced by clang::ASTNodeImporter::import().
|
inline |
Definition at line 509 of file TemplateBase.h.
References getTemplate(), and clang::TemplateArgumentLocInfo::TemplateTemplateArgLocInfo::TemplateKwLoc.
Referenced by clang::ASTNodeImporter::import().
|
inline |
Definition at line 513 of file TemplateBase.h.
References getTemplate(), and clang::TemplateArgumentLocInfo::TemplateTemplateArgLocInfo::TemplateNameLoc.
Referenced by clang::ASTNodeImporter::import().