class HasReferenceResolver

Declaration

class HasReferenceResolver : public Resolver { /* full declaration omitted */ };

Description

Do not resolve anything, but keep track of whether a given variable was referenced.

Declared at: llvm/include/llvm/TableGen/Record.h:2201

Inherits from: Resolver

Member Variables

private llvm::Init* VarNameToTrack
private bool Found = false

Method Overview

Inherited from Resolver:

Methods

HasReferenceResolver(llvm::Init* VarNameToTrack)

Declared at: llvm/include/llvm/TableGen/Record.h:2206

Parameters

llvm::Init* VarNameToTrack

bool found() const

Declared at: llvm/include/llvm/TableGen/Record.h:2209

llvm::Init* resolve(llvm::Init* VarName)

Description

Return the initializer for the given variable name (should normally be a StringInit), or nullptr if the name could not be resolved.

Declared at: llvm/include/llvm/TableGen/Record.h:2211

Parameters

llvm::Init* VarName