class TemplateArgumentLoc
Declaration
class TemplateArgumentLoc { /* full declaration omitted */ };
Description
Location wrapper for a TemplateArgument. TemplateArgument is to TemplateArgumentLoc as Type is to TypeLoc.
Declared at: clang/include/clang/AST/TemplateBase.h:457
Member Variables
- private clang::TemplateArgument Argument
- private clang::TemplateArgumentLocInfo LocInfo
Method Overview
- public TemplateArgumentLoc(const clang::TemplateArgument & Argument, clang::TemplateArgumentLocInfo Opaque)
- public TemplateArgumentLoc(const clang::TemplateArgument & Argument, clang::TypeSourceInfo * TInfo)
- public TemplateArgumentLoc(const clang::TemplateArgument & Argument, clang::Expr * E)
- public TemplateArgumentLoc(clang::ASTContext & Ctx, const clang::TemplateArgument & Argument, clang::NestedNameSpecifierLoc QualifierLoc, clang::SourceLocation TemplateNameLoc, clang::SourceLocation EllipsisLoc = clang::SourceLocation())
- public TemplateArgumentLoc()
- public const clang::TemplateArgument & getArgument() const
- public clang::TemplateArgumentLocInfo getLocInfo() const
- public clang::SourceLocation getLocation() const
- public clang::Expr * getSourceDeclExpression() const
- public clang::Expr * getSourceExpression() const
- public clang::Expr * getSourceIntegralExpression() const
- public clang::Expr * getSourceNullPtrExpression() const
- public clang::SourceRange getSourceRange() const
- public clang::SourceLocation getTemplateEllipsisLoc() const
- public clang::SourceLocation getTemplateNameLoc() const
- public clang::NestedNameSpecifierLoc getTemplateQualifierLoc() const
- public clang::TypeSourceInfo * getTypeSourceInfo() const
Methods
¶TemplateArgumentLoc(
const clang::TemplateArgument& Argument,
clang::TemplateArgumentLocInfo Opaque)
TemplateArgumentLoc(
const clang::TemplateArgument& Argument,
clang::TemplateArgumentLocInfo Opaque)
Declared at: clang/include/clang/AST/TemplateBase.h:464
Parameters
- const clang::TemplateArgument& Argument
- clang::TemplateArgumentLocInfo Opaque
¶TemplateArgumentLoc(
const clang::TemplateArgument& Argument,
clang::TypeSourceInfo* TInfo)
TemplateArgumentLoc(
const clang::TemplateArgument& Argument,
clang::TypeSourceInfo* TInfo)
Declared at: clang/include/clang/AST/TemplateBase.h:468
Parameters
- const clang::TemplateArgument& Argument
- clang::TypeSourceInfo* TInfo
¶TemplateArgumentLoc(
const clang::TemplateArgument& Argument,
clang::Expr* E)
TemplateArgumentLoc(
const clang::TemplateArgument& Argument,
clang::Expr* E)
Declared at: clang/include/clang/AST/TemplateBase.h:473
Parameters
- const clang::TemplateArgument& Argument
- clang::Expr* E
¶TemplateArgumentLoc(
clang::ASTContext& Ctx,
const clang::TemplateArgument& Argument,
clang::NestedNameSpecifierLoc QualifierLoc,
clang::SourceLocation TemplateNameLoc,
clang::SourceLocation EllipsisLoc =
clang::SourceLocation())
TemplateArgumentLoc(
clang::ASTContext& Ctx,
const clang::TemplateArgument& Argument,
clang::NestedNameSpecifierLoc QualifierLoc,
clang::SourceLocation TemplateNameLoc,
clang::SourceLocation EllipsisLoc =
clang::SourceLocation())
Declared at: clang/include/clang/AST/TemplateBase.h:484
Parameters
- clang::ASTContext& Ctx
- const clang::TemplateArgument& Argument
- clang::NestedNameSpecifierLoc QualifierLoc
- clang::SourceLocation TemplateNameLoc
- clang::SourceLocation EllipsisLoc = clang::SourceLocation()
¶TemplateArgumentLoc()
TemplateArgumentLoc()
Declared at: clang/include/clang/AST/TemplateBase.h:462
¶const clang::TemplateArgument& getArgument() const
const clang::TemplateArgument& getArgument() const
Declared at: clang/include/clang/AST/TemplateBase.h:506
¶clang::TemplateArgumentLocInfo getLocInfo() const
clang::TemplateArgumentLocInfo getLocInfo() const
Declared at: clang/include/clang/AST/TemplateBase.h:510
¶clang::SourceLocation getLocation() const
clang::SourceLocation getLocation() const
Description
- Fetches the primary location of the argument.
Declared at: clang/include/clang/AST/TemplateBase.h:495
¶clang::Expr* getSourceDeclExpression() const
clang::Expr* getSourceDeclExpression() const
Declared at: clang/include/clang/AST/TemplateBase.h:525
¶clang::Expr* getSourceExpression() const
clang::Expr* getSourceExpression() const
Declared at: clang/include/clang/AST/TemplateBase.h:520
¶clang::Expr* getSourceIntegralExpression() const
clang::Expr* getSourceIntegralExpression() const
Declared at: clang/include/clang/AST/TemplateBase.h:535
¶clang::Expr* getSourceNullPtrExpression() const
clang::Expr* getSourceNullPtrExpression() const
Declared at: clang/include/clang/AST/TemplateBase.h:530
¶clang::SourceRange getSourceRange() const
clang::SourceRange getSourceRange() const
Description
- Fetches the full source range of the argument.
Declared at: clang/include/clang/AST/TemplateBase.h:504
¶clang::SourceLocation getTemplateEllipsisLoc()
const
clang::SourceLocation getTemplateEllipsisLoc()
const
Declared at: clang/include/clang/AST/TemplateBase.h:554
¶clang::SourceLocation getTemplateNameLoc() const
clang::SourceLocation getTemplateNameLoc() const
Declared at: clang/include/clang/AST/TemplateBase.h:547
¶clang::NestedNameSpecifierLoc
getTemplateQualifierLoc() const
clang::NestedNameSpecifierLoc
getTemplateQualifierLoc() const
Declared at: clang/include/clang/AST/TemplateBase.h:540
¶clang::TypeSourceInfo* getTypeSourceInfo() const
clang::TypeSourceInfo* getTypeSourceInfo() const
Declared at: clang/include/clang/AST/TemplateBase.h:514