clang  6.0.0svn
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

constexpr TemplateArgumentLoc ()
 
 TemplateArgumentLoc (const TemplateArgument &Argument, TemplateArgumentLocInfo Opaque)
 
 TemplateArgumentLoc (const TemplateArgument &Argument, TypeSourceInfo *TInfo)
 
 TemplateArgumentLoc (const TemplateArgument &Argument, Expr *E)
 
 TemplateArgumentLoc (const TemplateArgument &Argument, NestedNameSpecifierLoc QualifierLoc, SourceLocation TemplateNameLoc, SourceLocation EllipsisLoc=SourceLocation())
 
SourceLocation getLocation () const
 
  • Fetches the primary location of the argument.
More...
 
SourceRange getSourceRange () const LLVM_READONLY
 
  • Fetches the full source range of the argument.
More...
 
const TemplateArgumentgetArgument () const
 
TemplateArgumentLocInfo getLocInfo () const
 
TypeSourceInfogetTypeSourceInfo () const
 
ExprgetSourceExpression () const
 
ExprgetSourceDeclExpression () const
 
ExprgetSourceNullPtrExpression () const
 
ExprgetSourceIntegralExpression () 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 428 of file TemplateBase.h.

Constructor & Destructor Documentation

◆ TemplateArgumentLoc() [1/5]

constexpr clang::TemplateArgumentLoc::TemplateArgumentLoc ( )
inline

Definition at line 433 of file TemplateBase.h.

◆ TemplateArgumentLoc() [2/5]

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

Definition at line 435 of file TemplateBase.h.

◆ TemplateArgumentLoc() [3/5]

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

Definition at line 440 of file TemplateBase.h.

References clang::TemplateArgument::getKind().

◆ TemplateArgumentLoc() [4/5]

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

Definition at line 445 of file TemplateBase.h.

◆ TemplateArgumentLoc() [5/5]

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

Definition at line 450 of file TemplateBase.h.

References clang::TemplateArgument::getKind().

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

◆ 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: