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

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

#include <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
< TemplateArgumentLoc
arguments () 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 523 of file TemplateBase.h.

Constructor & Destructor Documentation

clang::TemplateArgumentListInfo::TemplateArgumentListInfo ( )
inline

Definition at line 533 of file TemplateBase.h.

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

Definition at line 535 of file TemplateBase.h.

Member Function Documentation

void clang::TemplateArgumentListInfo::addArgument ( const TemplateArgumentLoc Loc)
inline
llvm::ArrayRef<TemplateArgumentLoc> clang::TemplateArgumentListInfo::arguments ( ) const
inline
const TemplateArgumentLoc* clang::TemplateArgumentListInfo::getArgumentArray ( ) const
inline
SourceLocation clang::TemplateArgumentListInfo::getLAngleLoc ( ) const
inline
SourceLocation clang::TemplateArgumentListInfo::getRAngleLoc ( ) const
inline
const TemplateArgumentLoc& clang::TemplateArgumentListInfo::operator[] ( unsigned  I) const
inline

Definition at line 555 of file TemplateBase.h.

References I.

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

Definition at line 559 of file TemplateBase.h.

References I.

void clang::TemplateArgumentListInfo::setLAngleLoc ( SourceLocation  Loc)
inline
void clang::TemplateArgumentListInfo::setRAngleLoc ( SourceLocation  Loc)
inline
unsigned clang::TemplateArgumentListInfo::size ( ) const
inline

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