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
 
const Initresolve (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 RecordgetCurrentRecord () const
 
virtual const Initresolve (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)
 

Detailed Description

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

Definition at line 2294 of file Record.h.

Constructor & Destructor Documentation

◆ TrackUnresolvedResolver()

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

Definition at line 2299 of file Record.h.

Member Function Documentation

◆ foundUnresolved()

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

Definition at line 2302 of file Record.h.

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

◆ resolve()

const Init * TrackUnresolvedResolver::resolve ( const 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 3378 of file Record.cpp.

References I, and llvm::Resolver::resolve().


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