class TGLocalVarScope

Declaration

class TGLocalVarScope { /* full declaration omitted */ };

Declared at: llvm/lib/TableGen/TGParser.h:80

Member Variables

private std::map<std::string, Init*, std::less<>> vars
private std::unique_ptr<TGLocalVarScope> parent

Method Overview

Methods

TGLocalVarScope()

Declared at: llvm/lib/TableGen/TGParser.h:86

TGLocalVarScope(
    std::unique_ptr<TGLocalVarScope> parent)

Declared at: llvm/lib/TableGen/TGParser.h:87

Parameters

std::unique_ptr<TGLocalVarScope> parent

void addVar(llvm::StringRef Name, llvm::Init* I)

Declared at: llvm/lib/TableGen/TGParser.h:113

Parameters

llvm::StringRef Name
llvm::Init* I

std::unique_ptr<TGLocalVarScope> extractParent()

Declared at: llvm/lib/TableGen/TGParser.h:90

llvm::Init* getVar(llvm::StringRef Name) const

Declared at: llvm/lib/TableGen/TGParser.h:96

Parameters

llvm::StringRef Name

bool varAlreadyDefined(llvm::StringRef Name) const

Declared at: llvm/lib/TableGen/TGParser.h:105

Parameters

llvm::StringRef Name