clang API Documentation
Namespaces | |
| namespace | detail |
Classes | |
| class | Status |
The result of a status operation. More... | |
| class | File |
| Represents an open file. More... | |
| class | directory_iterator |
| An input iterator over the entries in a virtual path, similar to llvm::sys::fs::directory_iterator. More... | |
| class | recursive_directory_iterator |
| An input iterator over the recursive contents of a virtual path, similar to llvm::sys::fs::recursive_directory_iterator. More... | |
| class | FileSystem |
| The virtual file system interface. More... | |
| class | OverlayFileSystem |
A file system that allows overlaying one AbstractFileSystem on top of another. More... | |
| struct | YAMLVFSEntry |
| class | YAMLVFSWriter |
Functions | |
| IntrusiveRefCntPtr< FileSystem > | getRealFileSystem () |
Gets an vfs::FileSystem for the 'real' file system, as seen by the operating system. | |
| llvm::sys::fs::UniqueID | getNextVirtualUniqueID () |
| Get a globally unique ID for a virtual file or directory. | |
| IntrusiveRefCntPtr< FileSystem > | getVFSFromYAML (std::unique_ptr< llvm::MemoryBuffer > Buffer, llvm::SourceMgr::DiagHandlerTy DiagHandler, void *DiagContext=nullptr, IntrusiveRefCntPtr< FileSystem > ExternalFS=getRealFileSystem()) |
Gets a FileSystem for a virtual file system described in YAML format. | |
| UniqueID clang::vfs::getNextVirtualUniqueID | ( | ) |
Get a globally unique ID for a virtual file or directory.
Definition at line 986 of file VirtualFileSystem.cpp.
| IntrusiveRefCntPtr< FileSystem > clang::vfs::getRealFileSystem | ( | ) |
Gets an vfs::FileSystem for the 'real' file system, as seen by the operating system.
Definition at line 178 of file VirtualFileSystem.cpp.
Referenced by clang::CompilerInstance::createFileManager(), clang::createVFSFromCompilerInvocation(), clang::FileManager::FileManager(), and clang::ASTUnit::LoadFromASTFile().
| IntrusiveRefCntPtr<FileSystem> clang::vfs::getVFSFromYAML | ( | std::unique_ptr< llvm::MemoryBuffer > | Buffer, |
| llvm::SourceMgr::DiagHandlerTy | DiagHandler, | ||
| void * | DiagContext = nullptr, |
||
| IntrusiveRefCntPtr< FileSystem > | ExternalFS = getRealFileSystem() |
||
| ) |
Gets a FileSystem for a virtual file system described in YAML format.
Referenced by clang::createVFSFromCompilerInvocation().