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

An output backend that creates files on disk, wrapping APIs in sys::fs. More...

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

Public Member Functions
Error makeAbsolute (SmallVectorImpl< char > &Path) const
Resolve an absolute path.
IntrusiveRefCntPtr< OnDiskOutputBackend > clone () const
OnDiskOutputBackend ()=default
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
IntrusiveRefCntPtr< OutputBackend > cloneImpl () const override
Must be thread-safe.
LLVM_ABI Expected< std::unique_ptr< OutputFileImpl > > createFileImpl (StringRef Path, std::optional< OutputConfig > Config) override
Create a file for Path.
Protected Member Functions inherited from llvm::vfs::OutputBackend
OutputBackend ()=default
Protected Member Functions inherited from llvm::RefCountedBase< OutputBackend >
RefCountedBase ()=default
RefCountedBase & operator= (const RefCountedBase &)=delete
~RefCountedBase ()

An output backend that creates files on disk, wrapping APIs in sys::fs.

Definition at line 79 of file VirtualOutputBackends.h.

llvm::vfs::OnDiskOutputBackend::OnDiskOutputBackend ( ) default

clone()

cloneImpl()

createFileImpl()

makeAbsolute()

Settings


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