clang  6.0.0svn
Public Member Functions | List of all members
clang::TemplateArgumentListInfo Class Reference

A convenient class for passing around template argument information. More...

#include "clang/AST/TemplateBase.h"

Public Member Functions

 TemplateArgumentListInfo ()
 
 TemplateArgumentListInfo (SourceLocation LAngleLoc, SourceLocation RAngleLoc)
 
SourceLocation getLAngleLoc () const
 
SourceLocation getRAngleLoc () const
 
void setLAngleLoc (SourceLocation Loc)
 
void setRAngleLoc (SourceLocation Loc)
 
unsigned size () const
 
const TemplateArgumentLocgetArgumentArray () const
 
llvm::ArrayRef< TemplateArgumentLocarguments () const
 
const TemplateArgumentLocoperator[] (unsigned I) const
 
TemplateArgumentLocoperator[] (unsigned I)
 
void addArgument (const TemplateArgumentLoc &Loc)
 

Detailed Description

A convenient class for passing around template argument information.

Designed to be passed by reference.

Definition at line 524 of file TemplateBase.h.

Constructor & Destructor Documentation

◆ TemplateArgumentListInfo() [1/2]

clang::TemplateArgumentListInfo::TemplateArgumentListInfo ( )
inline

Definition at line 534 of file TemplateBase.h.

◆ TemplateArgumentListInfo() [2/2]

clang::TemplateArgumentListInfo::TemplateArgumentListInfo ( SourceLocation  LAngleLoc,
SourceLocation  RAngleLoc 
)
inline

Definition at line 536 of file TemplateBase.h.

Member Function Documentation

◆ addArgument()

void clang::TemplateArgumentListInfo::addArgument ( const TemplateArgumentLoc Loc)
inline

◆ arguments()

llvm::ArrayRef<TemplateArgumentLoc> clang::TemplateArgumentListInfo::arguments ( ) const
inline

◆ getArgumentArray()

const TemplateArgumentLoc* clang::TemplateArgumentListInfo::getArgumentArray ( ) const
inline

◆ getLAngleLoc()

SourceLocation clang::TemplateArgumentListInfo::getLAngleLoc ( ) const
inline

◆ getRAngleLoc()

SourceLocation clang::TemplateArgumentListInfo::getRAngleLoc ( ) const
inline

◆ operator[]() [1/2]

const TemplateArgumentLoc& clang::TemplateArgumentListInfo::operator[] ( unsigned  I) const
inline

Definition at line 556 of file TemplateBase.h.

◆ operator[]() [2/2]

TemplateArgumentLoc& clang::TemplateArgumentListInfo::operator[] ( unsigned  I)
inline

Definition at line 560 of file TemplateBase.h.

◆ setLAngleLoc()

void clang::TemplateArgumentListInfo::setLAngleLoc ( SourceLocation  Loc)
inline

◆ setRAngleLoc()

void clang::TemplateArgumentListInfo::setRAngleLoc ( SourceLocation  Loc)
inline

◆ size()

unsigned clang::TemplateArgumentListInfo::size ( ) const
inline

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