LLVM 22.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 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 |
Definition at line 2295 of file Record.h.
References llvm::Resolver::getCurrentRecord(), and llvm::Resolver::Resolver().
Referenced by resolve().
|
inline |
Definition at line 2298 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 3390 of file Record.cpp.
References I, llvm::Sub, and TrackUnresolvedResolver().