class TemplateArgumentListInfo
Declaration
class TemplateArgumentListInfo { /* full declaration omitted */ };
Description
A convenient class for passing around template argument information. Designed to be passed by reference.
Declared at: clang/include/clang/AST/TemplateBase.h:563
Member Variables
- private SmallVector<clang::TemplateArgumentLoc, 8> Arguments
- private clang::SourceLocation LAngleLoc
- private clang::SourceLocation RAngleLoc
Method Overview
- public TemplateArgumentListInfo()
- public TemplateArgumentListInfo(clang::SourceLocation LAngleLoc, clang::SourceLocation RAngleLoc)
- public void addArgument(const clang::TemplateArgumentLoc & Loc)
- public llvm::ArrayRef<TemplateArgumentLoc> arguments() const
- public const clang::TemplateArgumentLoc * getArgumentArray() const
- public clang::SourceLocation getLAngleLoc() const
- public clang::SourceLocation getRAngleLoc() const
- public void setLAngleLoc(clang::SourceLocation Loc)
- public void setRAngleLoc(clang::SourceLocation Loc)
- public unsigned int size() const
Methods
¶TemplateArgumentListInfo()
TemplateArgumentListInfo()
Declared at: clang/include/clang/AST/TemplateBase.h:569
¶TemplateArgumentListInfo(
clang::SourceLocation LAngleLoc,
clang::SourceLocation RAngleLoc)
TemplateArgumentListInfo(
clang::SourceLocation LAngleLoc,
clang::SourceLocation RAngleLoc)
Declared at: clang/include/clang/AST/TemplateBase.h:571
Parameters
- clang::SourceLocation LAngleLoc
- clang::SourceLocation RAngleLoc
¶void addArgument(
const clang::TemplateArgumentLoc& Loc)
void addArgument(
const clang::TemplateArgumentLoc& Loc)
Declared at: clang/include/clang/AST/TemplateBase.h:603
Parameters
- const clang::TemplateArgumentLoc& Loc
¶llvm::ArrayRef<TemplateArgumentLoc> arguments()
const
llvm::ArrayRef<TemplateArgumentLoc> arguments()
const
Declared at: clang/include/clang/AST/TemplateBase.h:591
¶const clang::TemplateArgumentLoc*
getArgumentArray() const
const clang::TemplateArgumentLoc*
getArgumentArray() const
Declared at: clang/include/clang/AST/TemplateBase.h:587
¶clang::SourceLocation getLAngleLoc() const
clang::SourceLocation getLAngleLoc() const
Declared at: clang/include/clang/AST/TemplateBase.h:579
¶clang::SourceLocation getRAngleLoc() const
clang::SourceLocation getRAngleLoc() const
Declared at: clang/include/clang/AST/TemplateBase.h:580
¶void setLAngleLoc(clang::SourceLocation Loc)
void setLAngleLoc(clang::SourceLocation Loc)
Declared at: clang/include/clang/AST/TemplateBase.h:582
Parameters
¶void setRAngleLoc(clang::SourceLocation Loc)
void setRAngleLoc(clang::SourceLocation Loc)
Declared at: clang/include/clang/AST/TemplateBase.h:583
Parameters
¶unsigned int size() const
unsigned int size() const
Declared at: clang/include/clang/AST/TemplateBase.h:585