LLVM
8.0.1
|
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. More... | |
Public Member Functions inherited from llvm::Resolver | |
Resolver (Record *CurRec) | |
virtual | ~Resolver () |
Record * | getCurrentRecord () const |
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 |
|
inline |
Definition at line 1898 of file Record.h.
References llvm::EmitJSON(), and llvm::tgtok::VarName.
Referenced by isObjectStart().
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 2230 of file Record.cpp.