LLVM: llvm::vfs::OutputBackend Class Reference (original) (raw)
Interface for virtualized outputs. More...
#include "[llvm/Support/VirtualOutputBackend.h](VirtualOutputBackend%5F8h%5Fsource.html)"
| Public Member Functions | |
|---|---|
| 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 | |
|---|---|
| virtual IntrusiveRefCntPtr< OutputBackend > | cloneImpl () const =0 |
| Must be thread-safe. | |
| virtual Expected< std::unique_ptr< OutputFileImpl > > | createFileImpl (StringRef Path, std::optional< OutputConfig > Config)=0 |
| Create a file for Path. | |
| OutputBackend ()=default | |
| Protected Member Functions inherited from llvm::RefCountedBase< OutputBackend > | |
| RefCountedBase ()=default | |
| RefCountedBase & | operator= (const RefCountedBase &)=delete |
| ~RefCountedBase () |
Interface for virtualized outputs.
If virtual functions are added here, also add them to ProxyOutputBackend.
Definition at line 34 of file VirtualOutputBackend.h.
| llvm::vfs::OutputBackend::OutputBackend ( ) | protecteddefault |
|---|
◆ ~OutputBackend()
| virtual llvm::vfs::OutputBackend::~OutputBackend ( ) | virtualdefault |
|---|
◆ clone()
Get a backend that points to the same destination as this one but that has independent settings.
Not thread-safe, but all operations are thread-safe when performed on separate clones of the same backend.
Definition at line 43 of file VirtualOutputBackend.h.
References cloneImpl().
◆ cloneImpl()
◆ createFile()
◆ createFileImpl()
The documentation for this class was generated from the following files:
- include/llvm/Support/VirtualOutputBackend.h
- lib/Support/VirtualOutputBackend.cpp