|
LLVM 24.0.0git
|
By default, this delegates all calls to the underlying file system. More...
#include "llvm/Support/VirtualFileSystem.h"
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 |
| void | getDirectoryContentRealSources (const Twine &Dir, SmallVectorImpl< std::string > &Out) 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 |
Protected Member Functions | |
| FileSystem & | getUnderlyingFS () const |
| void | visitChildFileSystems (VisitCallbackTy Callback) override |
Additional Inherited Members | |
| Static Public Member Functions inherited from llvm::RTTIExtends< ProxyFileSystem, FileSystem > | |
| static const void * | classID () |
| static bool | classof (const T *R) |
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 485 of file VirtualFileSystem.h.
|
inlineexplicit |
Definition at line 489 of file VirtualFileSystem.h.
References llvm::move().
|
inlineoverride |
Definition at line 500 of file VirtualFileSystem.h.
Referenced by llvm::vfs::TracingFileSystemImpl< std::size_t >::dir_begin().
Definition at line 495 of file VirtualFileSystem.h.
Referenced by llvm::vfs::TracingFileSystemImpl< std::size_t >::exists().
|
inlineoverride |
Definition at line 503 of file VirtualFileSystem.h.
|
inlineoverride |
Definition at line 514 of file VirtualFileSystem.h.
|
inlineoverride |
Definition at line 509 of file VirtualFileSystem.h.
Referenced by llvm::vfs::TracingFileSystemImpl< std::size_t >::getRealPath().
|
inlineprotected |
Definition at line 523 of file VirtualFileSystem.h.
|
inlineoverride |
Definition at line 518 of file VirtualFileSystem.h.
Referenced by llvm::vfs::TracingFileSystemImpl< std::size_t >::isLocal().
|
inlineoverride |
Definition at line 497 of file VirtualFileSystem.h.
Referenced by llvm::vfs::TracingFileSystemImpl< std::size_t >::openFileForRead().
|
inlineoverride |
Definition at line 506 of file VirtualFileSystem.h.
|
inlineoverride |
Definition at line 492 of file VirtualFileSystem.h.
Referenced by llvm::vfs::TracingFileSystemImpl< std::size_t >::status().
|
inlineoverrideprotected |
Definition at line 524 of file VirtualFileSystem.h.
Definition at line 488 of file VirtualFileSystem.h.