LLVM 20.0.0git
|
Do not resolve anything, but keep track of whether a given variable was referenced. More...
#include "llvm/TableGen/Record.h"
Public Member Functions | |
HasReferenceResolver (const Init *VarNameToTrack) | |
bool | found () const |
const Init * | resolve (const 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 (const Record *CurRec) | |
virtual | ~Resolver ()=default |
const Record * | getCurrentRecord () const |
virtual const Init * | resolve (const 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) |
Do not resolve anything, but keep track of whether a given variable was referenced.
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 3398 of file Record.cpp.