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 (Init *VarNameToTrack) | |
bool | found () const |
Init * | resolve (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 |
Record * | getCurrentRecord () const |
virtual Init * | resolve (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.
|
inlineexplicit |
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 3327 of file Record.cpp.