clang 20.0.0git
Public Member Functions | List of all members
clang::TemplateArgumentLoc Class Reference

Location wrapper for a TemplateArgument. More...

#include "clang/AST/TemplateBase.h"

Public Member Functions

 TemplateArgumentLoc ()
 
 TemplateArgumentLoc (const TemplateArgument &Argument, TemplateArgumentLocInfo Opaque)
 
 TemplateArgumentLoc (const TemplateArgument &Argument, TypeSourceInfo *TInfo)
 
 TemplateArgumentLoc (const TemplateArgument &Argument, Expr *E)
 
 TemplateArgumentLoc (ASTContext &Ctx, const TemplateArgument &Argument, NestedNameSpecifierLoc QualifierLoc, SourceLocation TemplateNameLoc, SourceLocation EllipsisLoc=SourceLocation())
 
SourceLocation getLocation () const
 
SourceRange getSourceRange () const LLVM_READONLY
 
const TemplateArgumentgetArgument () const
 
TemplateArgumentLocInfo getLocInfo () const
 
TypeSourceInfogetTypeSourceInfo () const
 
ExprgetSourceExpression () const
 
ExprgetSourceDeclExpression () const
 
ExprgetSourceNullPtrExpression () const
 
ExprgetSourceIntegralExpression () const
 
ExprgetSourceStructuralValueExpression () const
 
NestedNameSpecifierLoc getTemplateQualifierLoc () const
 
SourceLocation getTemplateNameLoc () const
 
SourceLocation getTemplateEllipsisLoc () const
 

Detailed Description

Location wrapper for a TemplateArgument.

TemplateArgument is to TemplateArgumentLoc as Type is to TypeLoc.

Definition at line 524 of file TemplateBase.h.

Constructor & Destructor Documentation

◆ TemplateArgumentLoc() [1/5]

clang::TemplateArgumentLoc::TemplateArgumentLoc ( )
inline

Definition at line 529 of file TemplateBase.h.

◆ TemplateArgumentLoc() [2/5]

clang::TemplateArgumentLoc::TemplateArgumentLoc ( const TemplateArgument Argument,
TemplateArgumentLocInfo  Opaque 
)
inline

Definition at line 531 of file TemplateBase.h.

◆ TemplateArgumentLoc() [3/5]

clang::TemplateArgumentLoc::TemplateArgumentLoc ( const TemplateArgument Argument,
TypeSourceInfo TInfo 
)
inline

◆ TemplateArgumentLoc() [4/5]

clang::TemplateArgumentLoc::TemplateArgumentLoc ( const TemplateArgument Argument,
Expr E 
)
inline

◆ TemplateArgumentLoc() [5/5]

clang::TemplateArgumentLoc::TemplateArgumentLoc ( ASTContext Ctx,
const TemplateArgument Argument,
NestedNameSpecifierLoc  QualifierLoc,
SourceLocation  TemplateNameLoc,
SourceLocation  EllipsisLoc = SourceLocation() 
)
inline

Member Function Documentation

◆ getArgument()

const TemplateArgument & clang::TemplateArgumentLoc::getArgument ( ) const
inline

◆ getLocation()

SourceLocation clang::TemplateArgumentLoc::getLocation ( ) const
inline

◆ getLocInfo()

TemplateArgumentLocInfo clang::TemplateArgumentLoc::getLocInfo ( ) const
inline

◆ getSourceDeclExpression()

Expr * clang::TemplateArgumentLoc::getSourceDeclExpression ( ) const
inline

◆ getSourceExpression()

Expr * clang::TemplateArgumentLoc::getSourceExpression ( ) const
inline

◆ getSourceIntegralExpression()

Expr * clang::TemplateArgumentLoc::getSourceIntegralExpression ( ) const
inline

◆ getSourceNullPtrExpression()

Expr * clang::TemplateArgumentLoc::getSourceNullPtrExpression ( ) const
inline

◆ getSourceRange()

SourceRange TemplateArgumentLoc::getSourceRange ( ) const

◆ getSourceStructuralValueExpression()

Expr * clang::TemplateArgumentLoc::getSourceStructuralValueExpression ( ) const
inline

◆ getTemplateEllipsisLoc()

SourceLocation clang::TemplateArgumentLoc::getTemplateEllipsisLoc ( ) const
inline

◆ getTemplateNameLoc()

SourceLocation clang::TemplateArgumentLoc::getTemplateNameLoc ( ) const
inline

◆ getTemplateQualifierLoc()

NestedNameSpecifierLoc clang::TemplateArgumentLoc::getTemplateQualifierLoc ( ) const
inline

◆ getTypeSourceInfo()

TypeSourceInfo * clang::TemplateArgumentLoc::getTypeSourceInfo ( ) const
inline

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