Home
last modified time | relevance | path

Searched refs:getCurrentWorkingDirectory (Results 1 – 17 of 17) sorted by relevance

/llvm-project/clang/unittests/Frontend/
H A DReparseWorkingDirTest.cpp57 CI->getFileSystemOpts().WorkingDir = *VFS->getCurrentWorkingDirectory(); in ParseAST()
115 ASSERT_EQ(*FS.getCurrentWorkingDirectory(), WorkingDir); in TEST_F()
H A DASTUnitTest.cpp214 ASSERT_EQ(*VFS.getCurrentWorkingDirectory(), WorkingDir.str());
/llvm-project/llvm/include/llvm/Support/
H A DVirtualFileSystem.h307 virtual llvm::ErrorOr<std::string> getCurrentWorkingDirectory() const = 0;
410 llvm::ErrorOr<std::string> getCurrentWorkingDirectory() const override;
468 llvm::ErrorOr<std::string> getCurrentWorkingDirectory() const override {
469 return FS->getCurrentWorkingDirectory();
634 llvm::ErrorOr<std::string> getCurrentWorkingDirectory() const override {
1072 llvm::ErrorOr<std::string> getCurrentWorkingDirectory() const override;
455 llvm::ErrorOr<std::string> getCurrentWorkingDirectory() const override { getCurrentWorkingDirectory() function
621 llvm::ErrorOr<std::string> getCurrentWorkingDirectory() const override { getCurrentWorkingDirectory() function
/llvm-project/clang-tools-extra/include-cleaner/lib/
H A DIncludeSpeller.cpp37 .getCurrentWorkingDirectory()) in operator ()()
/llvm-project/llvm/lib/Support/
H A DFileCollector.cpp298 llvm::ErrorOr<std::string> getCurrentWorkingDirectory() const override { in getCurrentWorkingDirectory() function in llvm::FileCollectorFileSystem
299 return FS->getCurrentWorkingDirectory(); in getCurrentWorkingDirectory()
H A DVirtualFileSystem.cpp132 auto WorkingDir = getCurrentWorkingDirectory(); in makeAbsolute()
286 llvm::ErrorOr<std::string> getCurrentWorkingDirectory() const override;
348 llvm::ErrorOr<std::string> RealFileSystem::getCurrentWorkingDirectory() const { in setCurrentWorkingDirectory()
450 FS->setCurrentWorkingDirectory(getCurrentWorkingDirectory().get());
484 OverlayFileSystem::getCurrentWorkingDirectory() const {
486 return FSList.front()->getCurrentWorkingDirectory(); in isLocal()
1192 auto CWD = getCurrentWorkingDirectory(); in isLocal()
1261 ExternalFS->getCurrentWorkingDirectory()) { in incrementImpl()
1353 RedirectingFileSystem::getCurrentWorkingDirectory() const { in setCurrentWorkingDirectory()
1392 auto WorkingDir = getCurrentWorkingDirectory(); in makeAbsolute()
336 llvm::ErrorOr<std::string> RealFileSystem::getCurrentWorkingDirectory() const { getCurrentWorkingDirectory() function in RealFileSystem
472 OverlayFileSystem::getCurrentWorkingDirectory() const { getCurrentWorkingDirectory() function in OverlayFileSystem
1341 RedirectingFileSystem::getCurrentWorkingDirectory() const { getCurrentWorkingDirectory() function in RedirectingFileSystem
[all...]
H A DCommandLine.cpp1276 if (auto CWD = FS->getCurrentWorkingDirectory()) { in expandResponseFiles()
/llvm-project/llvm/unittests/Support/
H A DVirtualFileSystemTest.cpp76 llvm::ErrorOr<std::string> getCurrentWorkingDirectory() const override { in getCurrentWorkingDirectory() function in __anon6bedead70111::DummyFileSystem
497 EXPECT_EQ(BDir.path(), *BFS->getCurrentWorkingDirectory()); in TEST()
498 EXPECT_EQ(C.path(), *CFS->getCurrentWorkingDirectory()); in TEST()
564 ASSERT_EQ(FS1->getCurrentWorkingDirectory().getError(), in TEST()
567 ASSERT_EQ(FS1->getCurrentWorkingDirectory().get(), D2.path()); in TEST()
568 EXPECT_EQ(FS2->getCurrentWorkingDirectory().getError(), in TEST()
1034 auto PWD = PFS.getCurrentWorkingDirectory(); in TEST()
1180 ASSERT_EQ("/b", *FS.getCurrentWorkingDirectory()); in TEST_F()
1188 getPosixPath(NormalizedFS.getCurrentWorkingDirectory().get())); in TEST_F()
1191 getPosixPath(NormalizedFS.getCurrentWorkingDirectory() in TEST_F()
[all...]
/llvm-project/clang-tools-extra/clang-tidy/
H A DClangTidy.cpp195 auto OriginalCWD = VFS.getCurrentWorkingDirectory(); in finish()
416 .getCurrentWorkingDirectory(); in createASTConsumer()
613 auto InitialWorkingDir = FileSystem.getCurrentWorkingDirectory(); in handleErrors()
/llvm-project/lldb/unittests/Host/
H A DFileSystemTest.cpp68 llvm::ErrorOr<std::string> getCurrentWorkingDirectory() const override { in getCurrentWorkingDirectory() function in __anonab014d540111::DummyFileSystem
/llvm-project/clang/lib/Tooling/DependencyScanning/
H A DDependencyScanningFilesystem.cpp429 getUnderlyingFS().getCurrentWorkingDirectory(); in updateWorkingDirForCacheLookup()
H A DModuleDepCollector.cpp412 llvm::ErrorOr<std::string> CWD = VFS.getCurrentWorkingDirectory(); in getModuleContextHash()
/llvm-project/clang/lib/Tooling/
H A DTooling.cpp552 if (auto CWD = OverlayFileSystem->getCurrentWorkingDirectory()) { in run()
/llvm-project/clang-tools-extra/clangd/
H A DParsedAST.cpp542 auto BuildDir = VFS->getCurrentWorkingDirectory(); in build()
/llvm-project/clang/unittests/Driver/
H A DToolChainTest.cpp696 llvm::ErrorOr<std::string> getCurrentWorkingDirectory() const override { in TEST()
675 llvm::ErrorOr<std::string> getCurrentWorkingDirectory() const override { getCurrentWorkingDirectory() function
/llvm-project/clang/lib/Driver/ToolChains/
H A DClang.cpp423 VFS.getCurrentWorkingDirectory()) { in addDebugCompDirArg()
753 D.getVFS().getCurrentWorkingDirectory()) { in addPGOAndCoverageFlags()
2456 auto CWD = D.getVFS().getCurrentWorkingDirectory(); in CheckARMImplicitITArg()
/llvm-project/clang/lib/CodeGen/
H A DCGDebugInfo.cpp547 CGM.getFileSystem()->getCurrentWorkingDirectory(); in CreateCompileUnit()