Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/unittests/Tooling/
H A DToolingTest.cpp177 llvm::IntrusiveRefCntPtr<llvm::vfs::OverlayFileSystem> OverlayFileSystem( in TEST() local
181 OverlayFileSystem->pushOverlay(InMemoryFileSystem); in TEST()
203 llvm::IntrusiveRefCntPtr<llvm::vfs::OverlayFileSystem> OverlayFileSystem( in TEST() local
207 OverlayFileSystem->pushOverlay(InMemoryFileSystem); in TEST()
229 llvm::IntrusiveRefCntPtr<llvm::vfs::OverlayFileSystem> OverlayFileSystem( in TEST() local
233 OverlayFileSystem->pushOverlay(InMemoryFileSystem); in TEST()
258 llvm::IntrusiveRefCntPtr<llvm::vfs::OverlayFileSystem> OverlayFileSystem( in TEST() local
262 OverlayFileSystem->pushOverlay(InMemoryFileSystem); in TEST()
304 llvm::IntrusiveRefCntPtr<llvm::vfs::OverlayFileSystem> OverlayFileSystem( in TEST() local
308 OverlayFileSystem->pushOverlay(InMemoryFileSystem); in TEST()
[all …]
H A DRewriterTestContext.h56 OverlayFileSystem( in RewriterTestContext()
57 new llvm::vfs::OverlayFileSystem(llvm::vfs::getRealFileSystem())), in RewriterTestContext()
58 Files(FileSystemOptions(), OverlayFileSystem), in RewriterTestContext()
63 OverlayFileSystem->pushOverlay(InMemoryFileSystem); in RewriterTestContext()
132 IntrusiveRefCntPtr<llvm::vfs::OverlayFileSystem> OverlayFileSystem; variable
/llvm-project-15.0.7/clang-tools-extra/clangd/unittests/
H A DTestFS.h38 llvm::IntrusiveRefCntPtr<llvm::vfs::OverlayFileSystem> OverlayFileSystem = in viewImpl() local
39 new llvm::vfs::OverlayFileSystem(llvm::vfs::getRealFileSystem()); in viewImpl()
40 OverlayFileSystem->pushOverlay(MemFS); in viewImpl()
41 return OverlayFileSystem; in viewImpl()
H A DRenameTests.cpp36 llvm::IntrusiveRefCntPtr<llvm::vfs::OverlayFileSystem>
40 llvm::makeIntrusiveRefCnt<llvm::vfs::OverlayFileSystem>(std::move(Base)); in createOverlay()
/llvm-project-15.0.7/clang/lib/Tooling/
H A DTooling.cpp225 llvm::IntrusiveRefCntPtr<llvm::vfs::OverlayFileSystem> OverlayFileSystem( in runToolOnCodeWithArgs() local
229 OverlayFileSystem->pushOverlay(InMemoryFileSystem); in runToolOnCodeWithArgs()
436 OverlayFileSystem(new llvm::vfs::OverlayFileSystem(std::move(BaseFS))), in ClangTool()
440 OverlayFileSystem->pushOverlay(InMemoryFileSystem); in ClangTool()
445 Files->setVirtualFileSystem(OverlayFileSystem); in ClangTool()
496 auto AbsPath = getAbsolutePath(*OverlayFileSystem, SourcePath); in run()
509 if (auto CWD = OverlayFileSystem->getCurrentWorkingDirectory()) { in run()
540 if (OverlayFileSystem->setCurrentWorkingDirectory( in run()
653 llvm::IntrusiveRefCntPtr<llvm::vfs::OverlayFileSystem> OverlayFileSystem( in buildASTFromCodeWithArgs() local
657 OverlayFileSystem->pushOverlay(InMemoryFileSystem); in buildASTFromCodeWithArgs()
[all …]
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/
H A DClangTidy.h38 IntrusiveRefCntPtr<llvm::vfs::OverlayFileSystem> OverlayFS = nullptr);
52 IntrusiveRefCntPtr<llvm::vfs::OverlayFileSystem> OverlayFS;
90 llvm::IntrusiveRefCntPtr<llvm::vfs::OverlayFileSystem> BaseFS,
H A DExpandModularHeadersPPCallbacks.h18 class OverlayFileSystem; variable
47 IntrusiveRefCntPtr<llvm::vfs::OverlayFileSystem> OverlayFS);
H A DClangTidy.cpp330 IntrusiveRefCntPtr<llvm::vfs::OverlayFileSystem> OverlayFS) in ClangTidyASTConsumerFactory()
510 llvm::IntrusiveRefCntPtr<llvm::vfs::OverlayFileSystem> BaseFS, in runClangTidy()
548 IntrusiveRefCntPtr<llvm::vfs::OverlayFileSystem> BaseFS) in runClangTidy()
H A DExpandModularHeadersPPCallbacks.cpp69 IntrusiveRefCntPtr<llvm::vfs::OverlayFileSystem> OverlayFS) in ExpandModularHeadersPPCallbacks()
/llvm-project-15.0.7/llvm/unittests/Support/
H A DVirtualFileSystemTest.cpp254 IntrusiveRefCntPtr<vfs::OverlayFileSystem> O(new vfs::OverlayFileSystem(D)); in TEST()
274 new vfs::OverlayFileSystem(Lower)); in TEST()
301 new vfs::OverlayFileSystem(Base)); in TEST()
339 new vfs::OverlayFileSystem(Lower)); in TEST()
364 new vfs::OverlayFileSystem(Lower)); in TEST()
391 new vfs::OverlayFileSystem(Lower)); in TEST()
745 new vfs::OverlayFileSystem(Lower)); in TEST()
770 new vfs::OverlayFileSystem(Lower)); in TEST()
812 new vfs::OverlayFileSystem(Lower)); in TEST()
832 new vfs::OverlayFileSystem(Lower)); in TEST()
[all …]
/llvm-project-15.0.7/clang/include/clang/Tooling/
H A DTooling.h385 llvm::IntrusiveRefCntPtr<llvm::vfs::OverlayFileSystem> OverlayFileSystem; variable
/llvm-project-15.0.7/clang/lib/Tooling/DumpTool/
H A DClangSrcLocDump.cpp105 auto *OFS = new llvm::vfs::OverlayFileSystem(vfs::getRealFileSystem()); in main()
/llvm-project-15.0.7/llvm/lib/Support/
H A DVirtualFileSystem.cpp419 OverlayFileSystem::OverlayFileSystem(IntrusiveRefCntPtr<FileSystem> BaseFS) { in OverlayFileSystem() function in OverlayFileSystem
423 void OverlayFileSystem::pushOverlay(IntrusiveRefCntPtr<FileSystem> FS) { in pushOverlay()
430 ErrorOr<Status> OverlayFileSystem::status(const Twine &Path) { in status()
441 OverlayFileSystem::openFileForRead(const llvm::Twine &Path) { in openFileForRead()
452 OverlayFileSystem::getCurrentWorkingDirectory() const { in getCurrentWorkingDirectory()
458 OverlayFileSystem::setCurrentWorkingDirectory(const Twine &Path) { in setCurrentWorkingDirectory()
465 std::error_code OverlayFileSystem::isLocal(const Twine &Path, bool &Result) { in isLocal()
473 OverlayFileSystem::getRealPath(const Twine &Path, in getRealPath()
481 void OverlayFileSystem::printImpl(raw_ostream &OS, PrintType Type, in printImpl()
577 directory_iterator OverlayFileSystem::dir_begin(const Twine &Dir, in dir_begin()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/tool/
H A DClangTidyMain.cpp476 llvm::IntrusiveRefCntPtr<vfs::OverlayFileSystem> BaseFS( in clangTidyMain()
477 new vfs::OverlayFileSystem(vfs::getRealFileSystem())); in clangTidyMain()
/llvm-project-15.0.7/clang/unittests/AST/
H A DASTImporterFixtures.cpp28 auto *OFS = static_cast<llvm::vfs::OverlayFileSystem *>( in createVirtualFileIfNeeded()
/llvm-project-15.0.7/clang/lib/Frontend/
H A DPrecompiledPreamble.cpp62 IntrusiveRefCntPtr<llvm::vfs::OverlayFileSystem> Overlay( in createVFSOverlayForPreamblePCH()
63 new llvm::vfs::OverlayFileSystem(VFS)); in createVFSOverlayForPreamblePCH()
/llvm-project-15.0.7/clang/lib/Tooling/DependencyScanning/
H A DDependencyScanningWorker.cpp279 llvm::makeIntrusiveRefCnt<llvm::vfs::OverlayFileSystem>(std::move(FS)); in DependencyScanningWorker()
/llvm-project-15.0.7/llvm/include/llvm/Support/
H A DVirtualFileSystem.h367 class OverlayFileSystem : public FileSystem {
375 OverlayFileSystem(IntrusiveRefCntPtr<FileSystem> Base);
/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DClangdServer.cpp142 auto OFS = llvm::makeIntrusiveRefCnt<llvm::vfs::OverlayFileSystem>( in viewImpl()