clang 22.0.0git
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
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 634 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 642 of file TemplateBase.h.

Member Function Documentation

◆ addArgument()

◆ arguments()

◆ getArgumentArray()

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

Definition at line 657 of file TemplateBase.h.

◆ getLAngleLoc()

◆ getRAngleLoc()

◆ operator new()

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

References bytes(), and clang::C.

◆ operator[]() [1/2]

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

Definition at line 667 of file TemplateBase.h.

◆ operator[]() [2/2]

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

Definition at line 663 of file TemplateBase.h.

◆ setLAngleLoc()

◆ setRAngleLoc()

◆ size()


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