LLVM 20.0.0git
|
(Optionally) delegate resolving to a sub-resolver, and keep track whether there were unresolved references. More...
#include "llvm/TableGen/Record.h"
Public Member Functions | |
TrackUnresolvedResolver (Resolver *R=nullptr) | |
bool | foundUnresolved () 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) |
(Optionally) delegate resolving to a sub-resolver, and keep track whether there were unresolved references.
|
inlineexplicit |
|
inline |
Definition at line 2311 of file Record.h.
Referenced by llvm::VarDefInit::resolveReferences().
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 3307 of file Record.cpp.
References I, and llvm::Resolver::resolve().