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 |
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) |
(Optionally) delegate resolving to a sub-resolver, and keep track whether there were unresolved references.
|
inlineexplicit |
|
inline |
Definition at line 2302 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 3378 of file Record.cpp.
References I, and llvm::Resolver::resolve().