|
clang 24.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 Loc) | |
| 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 |
| bool | isNull () const |
| bool | isTrivial () const |
| SourceLocation | getTrivialLoc () const |
Location information for a TemplateArgument.
Definition at line 482 of file TemplateBase.h.
|
inline |
Definition at line 494 of file TemplateBase.h.
|
inline |
Definition at line 495 of file TemplateBase.h.
|
inline |
Definition at line 497 of file TemplateBase.h.
| clang::TemplateArgumentLocInfo::TemplateArgumentLocInfo | ( | ASTContext & | Ctx, |
| SourceLocation | Loc ) |
Definition at line 776 of file TemplateBase.cpp.
References clang::SourceLocation::getRawEncoding().
| clang::TemplateArgumentLocInfo::TemplateArgumentLocInfo | ( | ASTContext & | Ctx, |
| SourceLocation | TemplateKwLoc, | ||
| NestedNameSpecifierLoc | QualifierLoc, | ||
| SourceLocation | TemplateNameLoc, | ||
| SourceLocation | EllipsisLoc ) |
Definition at line 764 of file TemplateBase.cpp.
References clang::NestedNameSpecifierLoc::getOpaqueData(), and clang::Template.
|
inline |
Definition at line 513 of file TemplateBase.h.
References clang::cast().
Referenced by clang::ASTRecordWriter::AddTemplateArgumentLoc(), clang::ASTRecordWriter::AddTemplateArgumentLocInfo(), and clang::ASTNodeImporter::import().
|
inline |
Definition at line 509 of file TemplateBase.h.
References clang::cast().
Referenced by clang::ASTRecordWriter::AddTemplateArgumentLocInfo(), and clang::ASTNodeImporter::import().
|
inline |
Definition at line 490 of file TemplateBase.h.
References clang::cast().
Referenced by getTemplateEllipsisLoc(), getTemplateKwLoc(), and getTemplateNameLoc().
|
inline |
Definition at line 523 of file TemplateBase.h.
References clang::TemplateArgumentLocInfo::TemplateTemplateArgLocInfo::EllipsisLoc, and getTemplate().
Referenced by clang::ASTNodeImporter::import().
|
inline |
Definition at line 515 of file TemplateBase.h.
References getTemplate(), and clang::TemplateArgumentLocInfo::TemplateTemplateArgLocInfo::TemplateKwLoc.
Referenced by clang::ASTNodeImporter::import().
|
inline |
Definition at line 519 of file TemplateBase.h.
References getTemplate(), and clang::TemplateArgumentLocInfo::TemplateTemplateArgLocInfo::TemplateNameLoc.
Referenced by clang::ASTNodeImporter::import().
|
inline |
Definition at line 531 of file TemplateBase.h.
References clang::cast(), and clang::SourceLocation::getFromRawEncoding().
|
inline |
Definition at line 527 of file TemplateBase.h.
|
inline |
Definition at line 529 of file TemplateBase.h.
References clang::isa().