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

By default, this delegates all calls to the underlying file system. More...

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

Public Member Functions
ProxyFileSystem (IntrusiveRefCntPtr< FileSystem > FS)
llvm::ErrorOr< Status > status (const Twine &Path) override
bool exists (const Twine &Path) override
llvm::ErrorOr< std::unique_ptr< File > > openFileForRead (const Twine &Path) override
directory_iterator dir_begin (const Twine &Dir, std::error_code &EC) override
llvm::ErrorOr< std::string > getCurrentWorkingDirectory () const override
std::error_code setCurrentWorkingDirectory (const Twine &Path) override
std::error_code getRealPath (const Twine &Path, SmallVectorImpl< char > &Output) override
std::error_code isLocal (const Twine &Path, bool &Result) override
Public Member Functions inherited from llvm::RTTIExtends< ProxyFileSystem, FileSystem >
const void * dynamicClassID () const override
bool isA () const
Check whether this instance is a subclass of QueryT.
Static Public Attributes
static const char ID = 0

By default, this delegates all calls to the underlying file system.

This is useful when derived file systems want to override some calls and still proxy other calls.

Definition at line 454 of file VirtualFileSystem.h.

dir_begin()

exists()

bool llvm::vfs::ProxyFileSystem::exists ( const Twine & Path) inlineoverride

getCurrentWorkingDirectory()

llvm::ErrorOr< std::string > llvm::vfs::ProxyFileSystem::getCurrentWorkingDirectory ( ) const inlineoverride

getRealPath()

getUnderlyingFS()

FileSystem & llvm::vfs::ProxyFileSystem::getUnderlyingFS ( ) const inlineprotected

isLocal()

std::error_code llvm::vfs::ProxyFileSystem::isLocal ( const Twine & Path, bool & Result ) inlineoverride

openFileForRead()

setCurrentWorkingDirectory()

std::error_code llvm::vfs::ProxyFileSystem::setCurrentWorkingDirectory ( const Twine & Path) inlineoverride

status()

visitChildFileSystems()

void llvm::vfs::ProxyFileSystem::visitChildFileSystems ( VisitCallbackTy Callback) inlineoverrideprotected

ID


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