LLVM 20.0.0git
Public Member Functions | List of all members
llvm::TrackUnresolvedResolver Class Referencefinal

(Optionally) delegate resolving to a sub-resolver, and keep track whether there were unresolved references. More...

#include "llvm/TableGen/Record.h"

Inheritance diagram for llvm::TrackUnresolvedResolver:
Inheritance graph
[legend]

Public Member Functions

 TrackUnresolvedResolver (Resolver *R=nullptr)
 
bool foundUnresolved () const
 
Initresolve (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
 
RecordgetCurrentRecord () const
 
virtual Initresolve (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)
 

Detailed Description

(Optionally) delegate resolving to a sub-resolver, and keep track whether there were unresolved references.

Definition at line 2303 of file Record.h.

Constructor & Destructor Documentation

◆ TrackUnresolvedResolver()

llvm::TrackUnresolvedResolver::TrackUnresolvedResolver ( Resolver R = nullptr)
inlineexplicit

Definition at line 2308 of file Record.h.

Member Function Documentation

◆ foundUnresolved()

bool llvm::TrackUnresolvedResolver::foundUnresolved ( ) const
inline

Definition at line 2311 of file Record.h.

Referenced by llvm::VarDefInit::resolveReferences().

◆ resolve()

Init * TrackUnresolvedResolver::resolve ( Init VarName)
overridevirtual

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().


The documentation for this class was generated from the following files: