LLVM: llvm::HasReferenceResolver Class Reference (original) (raw)
Do not resolve anything, but keep track of whether a given variable was referenced. More...
#include "[llvm/TableGen/Record.h](TableGen%5F2Record%5F8h%5Fsource.html)"
| Public Member Functions | |
|---|---|
| HasReferenceResolver (const Init *VarNameToTrack) | |
| bool | found () const |
| const Init * | resolve (const Init *VarName) override |
| Return the initializer for the given variable name (should normally be a [StringInit](classllvm%5F1%5F1StringInit.html ""foo" - Represent an initialization by a string value.")), 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) |
Do not resolve anything, but keep track of whether a given variable was referenced.
Definition at line 2305 of file Record.h.
| llvm::HasReferenceResolver::HasReferenceResolver ( const Init * VarNameToTrack) | inlineexplicit |
|---|
◆ found()
| bool llvm::HasReferenceResolver::found ( ) const | inline |
|---|
◆ resolve()
Return the initializer for the given variable name (should normally be a [StringInit](classllvm%5F1%5F1StringInit.html ""foo" - Represent an initialization by a string value.")), or nullptr if the name could not be resolved.
Implements llvm::Resolver.
Definition at line 3409 of file Record.cpp.
The documentation for this class was generated from the following files:
- include/llvm/TableGen/Record.h
- lib/TableGen/Record.cpp