clang 19.0.0git
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 632 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 640 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

Definition at line 655 of file TemplateBase.h.

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

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

Definition at line 665 of file TemplateBase.h.

◆ operator[]() [2/2]

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

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