| /llvm-project-15.0.7/clang/unittests/Tooling/ |
| H A D | ToolingTest.cpp | 177 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 D | RewriterTestContext.h | 56 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 D | TestFS.h | 38 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 D | RenameTests.cpp | 36 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 D | Tooling.cpp | 225 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 D | ClangTidy.h | 38 IntrusiveRefCntPtr<llvm::vfs::OverlayFileSystem> OverlayFS = nullptr); 52 IntrusiveRefCntPtr<llvm::vfs::OverlayFileSystem> OverlayFS; 90 llvm::IntrusiveRefCntPtr<llvm::vfs::OverlayFileSystem> BaseFS,
|
| H A D | ExpandModularHeadersPPCallbacks.h | 18 class OverlayFileSystem; variable 47 IntrusiveRefCntPtr<llvm::vfs::OverlayFileSystem> OverlayFS);
|
| H A D | ClangTidy.cpp | 330 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 D | ExpandModularHeadersPPCallbacks.cpp | 69 IntrusiveRefCntPtr<llvm::vfs::OverlayFileSystem> OverlayFS) in ExpandModularHeadersPPCallbacks()
|
| /llvm-project-15.0.7/llvm/unittests/Support/ |
| H A D | VirtualFileSystemTest.cpp | 254 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 D | Tooling.h | 385 llvm::IntrusiveRefCntPtr<llvm::vfs::OverlayFileSystem> OverlayFileSystem; variable
|
| /llvm-project-15.0.7/clang/lib/Tooling/DumpTool/ |
| H A D | ClangSrcLocDump.cpp | 105 auto *OFS = new llvm::vfs::OverlayFileSystem(vfs::getRealFileSystem()); in main()
|
| /llvm-project-15.0.7/llvm/lib/Support/ |
| H A D | VirtualFileSystem.cpp | 419 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 D | ClangTidyMain.cpp | 476 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 D | ASTImporterFixtures.cpp | 28 auto *OFS = static_cast<llvm::vfs::OverlayFileSystem *>( in createVirtualFileIfNeeded()
|
| /llvm-project-15.0.7/clang/lib/Frontend/ |
| H A D | PrecompiledPreamble.cpp | 62 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 D | DependencyScanningWorker.cpp | 279 llvm::makeIntrusiveRefCnt<llvm::vfs::OverlayFileSystem>(std::move(FS)); in DependencyScanningWorker()
|
| /llvm-project-15.0.7/llvm/include/llvm/Support/ |
| H A D | VirtualFileSystem.h | 367 class OverlayFileSystem : public FileSystem { 375 OverlayFileSystem(IntrusiveRefCntPtr<FileSystem> Base);
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/ |
| H A D | ClangdServer.cpp | 142 auto OFS = llvm::makeIntrusiveRefCnt<llvm::vfs::OverlayFileSystem>( in viewImpl()
|