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

Methods

TemplateArgumentListInfo()

Declared at: clang/include/clang/AST/TemplateBase.h:569

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)

Declared at: clang/include/clang/AST/TemplateBase.h:603

Parameters

const clang::TemplateArgumentLoc& Loc

llvm::ArrayRef<TemplateArgumentLoc> arguments()
    const

Declared at: clang/include/clang/AST/TemplateBase.h:591

const clang::TemplateArgumentLoc*
getArgumentArray() const

Declared at: clang/include/clang/AST/TemplateBase.h:587

clang::SourceLocation getLAngleLoc() const

Declared at: clang/include/clang/AST/TemplateBase.h:579

clang::SourceLocation getRAngleLoc() const

Declared at: clang/include/clang/AST/TemplateBase.h:580

void setLAngleLoc(clang::SourceLocation Loc)

Declared at: clang/include/clang/AST/TemplateBase.h:582

Parameters

clang::SourceLocation Loc

void setRAngleLoc(clang::SourceLocation Loc)

Declared at: clang/include/clang/AST/TemplateBase.h:583

Parameters

clang::SourceLocation Loc

unsigned int size() const

Declared at: clang/include/clang/AST/TemplateBase.h:585