LLVM: llvm::vfs::ProxyOutputBackend Class Reference (original) (raw)

A helper class for proxying another backend, with the default implementation to forward to the underlying backend. More...

#include "[llvm/Support/VirtualOutputBackends.h](VirtualOutputBackends%5F8h%5Fsource.html)"

Inheritance diagram for llvm::vfs::ProxyOutputBackend:

Public Member Functions
ProxyOutputBackend (IntrusiveRefCntPtr< OutputBackend > UnderlyingBackend)
Public Member Functions inherited from llvm::vfs::OutputBackend
IntrusiveRefCntPtr< OutputBackend > clone () const
Get a backend that points to the same destination as this one but that has independent settings.
LLVM_ABI Expected< OutputFile > createFile (const Twine &Path, std::optional< OutputConfig > Config=std::nullopt)
Create a file.
virtual ~OutputBackend ()=default
Public Member Functions inherited from llvm::RefCountedBase< OutputBackend >
unsigned UseCount () const
void Retain () const
void Release () const
Protected Member Functions
Expected< std::unique_ptr< OutputFileImpl > > createFileImpl (StringRef Path, std::optional< OutputConfig > Config) override
Create a file for Path.
OutputBackend & getUnderlyingBackend () const
Protected Member Functions inherited from llvm::vfs::OutputBackend
virtual IntrusiveRefCntPtr< OutputBackend > cloneImpl () const =0
Must be thread-safe.
OutputBackend ()=default
Protected Member Functions inherited from llvm::RefCountedBase< OutputBackend >
RefCountedBase ()=default
RefCountedBase & operator= (const RefCountedBase &)=delete
~RefCountedBase ()

Detailed Description

A helper class for proxying another backend, with the default implementation to forward to the underlying backend.

Definition at line 50 of file VirtualOutputBackends.h.

Constructor & Destructor Documentation

Member Function Documentation

createFileImpl()

| | inlineoverrideprotectedvirtual | | --------------------------------- |

getUnderlyingBackend()

OutputBackend & llvm::vfs::ProxyOutputBackend::getUnderlyingBackend ( ) const inlineprotected

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