LLVM 19.0.0git
Public Member Functions | List of all members
llvm::ShadowResolver Class Referencefinal

Delegate resolving to a sub-resolver, but shadow some variable names. More...

#include "llvm/TableGen/Record.h"

Inheritance diagram for llvm::ShadowResolver:
Inheritance graph
[legend]

Public Member Functions

 ShadowResolver (Resolver &R)
 
void addShadow (Init *Key)
 
Initresolve (Init *VarName) override
 Return the initializer for the given variable name (should normally be a StringInit), or nullptr if the name could not be resolved.
 
- Public Member Functions inherited from llvm::Resolver
 Resolver (Record *CurRec)
 
virtual ~Resolver ()=default
 
RecordgetCurrentRecord () const
 
virtual Initresolve (Init *VarName)=0
 Return the initializer for the given variable name (should normally be a StringInit), or nullptr if the name could not be resolved.
 
virtual bool keepUnsetBits () const
 
bool isFinal () const
 
void setFinal (bool Final)
 

Detailed Description

Delegate resolving to a sub-resolver, but shadow some variable names.

Definition at line 2283 of file Record.h.

Constructor & Destructor Documentation

◆ ShadowResolver()

llvm::ShadowResolver::ShadowResolver ( Resolver R)
inlineexplicit

Definition at line 2288 of file Record.h.

References llvm::Resolver::setFinal().

Member Function Documentation

◆ addShadow()

void llvm::ShadowResolver::addShadow ( Init Key)
inline

◆ resolve()

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

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

Implements llvm::Resolver.

Definition at line 2295 of file Record.h.

References llvm::detail::DenseSetImpl< ValueT, MapTy, ValueInfoT >::count().


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