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 ()=default
 
 TemplateArgumentListInfo (SourceLocation LAngleLoc, SourceLocation RAngleLoc)
 
void * operator new (size_t bytes, ASTContext &C)=delete
 
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 546 of file TemplateBase.h.

Constructor & Destructor Documentation

◆ TemplateArgumentListInfo() [1/2]

clang::TemplateArgumentListInfo::TemplateArgumentListInfo ( )
default

◆ TemplateArgumentListInfo() [2/2]

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

Definition at line 554 of file TemplateBase.h.

References bytes().

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 new()

void* clang::TemplateArgumentListInfo::operator new ( size_t  bytes,
ASTContext C 
)
delete

◆ operator[]() [1/2]

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

Definition at line 578 of file TemplateBase.h.

◆ operator[]() [2/2]

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

Definition at line 582 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: