Home
last modified time | relevance | path

Searched refs:OverlayFileSystem (Results 1 – 7 of 7) sorted by relevance

/openbsd-src/gnu/llvm/clang/lib/Tooling/
H A DTooling.cpp225 llvm::IntrusiveRefCntPtr<llvm::vfs::OverlayFileSystem> OverlayFileSystem( in runToolOnCodeWithArgs() local
226 new llvm::vfs::OverlayFileSystem(llvm::vfs::getRealFileSystem())); in runToolOnCodeWithArgs()
229 OverlayFileSystem->pushOverlay(InMemoryFileSystem); in runToolOnCodeWithArgs()
242 return runToolOnCodeWithArgs(std::move(ToolAction), Code, OverlayFileSystem, in runToolOnCodeWithArgs()
447 OverlayFileSystem(new llvm::vfs::OverlayFileSystem(std::move(BaseFS))), in ClangTool()
450 : new FileManager(FileSystemOptions(), OverlayFileSystem)) { in ClangTool()
451 OverlayFileSystem->pushOverlay(InMemoryFileSystem); in ClangTool()
456 Files->setVirtualFileSystem(OverlayFileSystem); in ClangTool()
507 auto AbsPath = getAbsolutePath(*OverlayFileSystem, SourcePath); in run()
520 if (auto CWD = OverlayFileSystem->getCurrentWorkingDirectory()) { in run()
[all …]
/openbsd-src/gnu/llvm/clang/include/clang/Tooling/
H A DTooling.h385 llvm::IntrusiveRefCntPtr<llvm::vfs::OverlayFileSystem> OverlayFileSystem; variable
/openbsd-src/gnu/llvm/clang/lib/Tooling/DumpTool/
H A DClangSrcLocDump.cpp105 auto *OFS = new llvm::vfs::OverlayFileSystem(vfs::getRealFileSystem()); in main()
/openbsd-src/gnu/llvm/llvm/lib/Support/
H A DVirtualFileSystem.cpp418 OverlayFileSystem::OverlayFileSystem(IntrusiveRefCntPtr<FileSystem> BaseFS) { in OverlayFileSystem() function in OverlayFileSystem
422 void OverlayFileSystem::pushOverlay(IntrusiveRefCntPtr<FileSystem> FS) { in pushOverlay()
429 ErrorOr<Status> OverlayFileSystem::status(const Twine &Path) { in status()
440 OverlayFileSystem::openFileForRead(const llvm::Twine &Path) { in openFileForRead()
451 OverlayFileSystem::getCurrentWorkingDirectory() const { in getCurrentWorkingDirectory()
457 OverlayFileSystem::setCurrentWorkingDirectory(const Twine &Path) { in setCurrentWorkingDirectory()
464 std::error_code OverlayFileSystem::isLocal(const Twine &Path, bool &Result) { in isLocal()
472 OverlayFileSystem::getRealPath(const Twine &Path, in getRealPath()
480 void OverlayFileSystem::printImpl(raw_ostream &OS, PrintType Type, in printImpl()
576 directory_iterator OverlayFileSystem::dir_begin(const Twine &Dir, in dir_begin()
/openbsd-src/gnu/llvm/clang/lib/Frontend/
H A DPrecompiledPreamble.cpp62 IntrusiveRefCntPtr<llvm::vfs::OverlayFileSystem> Overlay( in createVFSOverlayForPreamblePCH()
63 new llvm::vfs::OverlayFileSystem(VFS)); in createVFSOverlayForPreamblePCH()
/openbsd-src/gnu/llvm/llvm/include/llvm/Support/
H A DVirtualFileSystem.h366 class OverlayFileSystem : public FileSystem {
374 OverlayFileSystem(IntrusiveRefCntPtr<FileSystem> Base);
/openbsd-src/gnu/llvm/clang/lib/Tooling/DependencyScanning/
H A DDependencyScanningWorker.cpp403 llvm::makeIntrusiveRefCnt<llvm::vfs::OverlayFileSystem>(BaseFS); in computeDependencies()