LLVM  8.0.1
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]
Collaboration diagram for llvm::TrackUnresolvedResolver:
Collaboration 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. More...
 
- Public Member Functions inherited from llvm::Resolver
 Resolver (Record *CurRec)
 
virtual ~Resolver ()
 
RecordgetCurrentRecord () const
 
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 1875 of file Record.h.

Constructor & Destructor Documentation

◆ TrackUnresolvedResolver()

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

Definition at line 1880 of file Record.h.

Member Function Documentation

◆ foundUnresolved()

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

Definition at line 1883 of file Record.h.

References llvm::tgtok::VarName.

Referenced by llvm::VarDefInit::Fold(), and 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 2210 of file Record.cpp.

References I, and llvm::Init::resolveReferences().


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