Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/include/llvm/Support/
H A DVirtualFileSystem.h295 virtual llvm::ErrorOr<std::string> getCurrentWorkingDirectory() const = 0;
384 llvm::ErrorOr<std::string> getCurrentWorkingDirectory() const override;
439 llvm::ErrorOr<std::string> getCurrentWorkingDirectory() const override { in getCurrentWorkingDirectory() function
440 return FS->getCurrentWorkingDirectory(); in getCurrentWorkingDirectory()
592 llvm::ErrorOr<std::string> getCurrentWorkingDirectory() const override { in getCurrentWorkingDirectory() function
977 llvm::ErrorOr<std::string> getCurrentWorkingDirectory() const override;
/llvm-project-15.0.7/llvm/lib/Support/
H A DFileCollector.cpp296 llvm::ErrorOr<std::string> getCurrentWorkingDirectory() const override { in getCurrentWorkingDirectory() function in llvm::FileCollectorFileSystem
297 return FS->getCurrentWorkingDirectory(); in getCurrentWorkingDirectory()
H A DVirtualFileSystem.cpp132 auto WorkingDir = getCurrentWorkingDirectory(); in makeAbsolute()
274 llvm::ErrorOr<std::string> getCurrentWorkingDirectory() const override;
326 llvm::ErrorOr<std::string> RealFileSystem::getCurrentWorkingDirectory() const { in getCurrentWorkingDirectory() function in RealFileSystem
427 FS->setCurrentWorkingDirectory(getCurrentWorkingDirectory().get()); in pushOverlay()
452 OverlayFileSystem::getCurrentWorkingDirectory() const { in getCurrentWorkingDirectory() function in OverlayFileSystem
454 return FSList.front()->getCurrentWorkingDirectory(); in getCurrentWorkingDirectory()
1158 auto CWD = getCurrentWorkingDirectory(); in getRealPath()
1227 ExternalFS->getCurrentWorkingDirectory()) { in RedirectingFileSystem()
1319 RedirectingFileSystem::getCurrentWorkingDirectory() const { in getCurrentWorkingDirectory() function in RedirectingFileSystem
1355 auto WorkingDir = getCurrentWorkingDirectory(); in makeAbsolute()
/llvm-project-15.0.7/llvm/unittests/Support/
H A DVirtualFileSystemTest.cpp73 llvm::ErrorOr<std::string> getCurrentWorkingDirectory() const override { in getCurrentWorkingDirectory() function in __anon6124b8b40111::DummyFileSystem
479 EXPECT_EQ(BDir.path(), *BFS->getCurrentWorkingDirectory()); in TEST()
480 EXPECT_EQ(C.path(), *CFS->getCurrentWorkingDirectory()); in TEST()
924 auto PWD = PFS.getCurrentWorkingDirectory(); in TEST()
1065 ASSERT_EQ("/b", *FS.getCurrentWorkingDirectory()); in TEST_F()
1073 getPosixPath(NormalizedFS.getCurrentWorkingDirectory().get())); in TEST_F()
1076 getPosixPath(NormalizedFS.getCurrentWorkingDirectory().get())); in TEST_F()
2551 llvm::ErrorOr<std::string> WorkingDir = FS->getCurrentWorkingDirectory(); in TEST_F()
2566 WorkingDir = FS->getCurrentWorkingDirectory(); in TEST_F()
2572 WorkingDir = FS->getCurrentWorkingDirectory(); in TEST_F()
[all …]
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/
H A DClangTidy.cpp400 .getCurrentWorkingDirectory(); in createASTConsumer()
592 auto InitialWorkingDir = FileSystem.getCurrentWorkingDirectory(); in handleErrors()
/llvm-project-15.0.7/lldb/unittests/Host/
H A DFileSystemTest.cpp63 llvm::ErrorOr<std::string> getCurrentWorkingDirectory() const override { in getCurrentWorkingDirectory() function in __anonef9ab2f10111::DummyFileSystem
/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DParsedAST.cpp553 auto BuildDir = VFS->getCurrentWorkingDirectory(); in build()
/llvm-project-15.0.7/clang/lib/Tooling/
H A DTooling.cpp509 if (auto CWD = OverlayFileSystem->getCurrentWorkingDirectory()) { in run()
/llvm-project-15.0.7/clang/lib/Driver/ToolChains/
H A DClang.cpp634 VFS.getCurrentWorkingDirectory()) { in addDebugCompDirArg()
921 D.getVFS().getCurrentWorkingDirectory()) { in addPGOAndCoverageFlags()
2420 auto CWD = D.getVFS().getCurrentWorkingDirectory(); in DumpCompilationDatabase()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGDebugInfo.cpp495 CGM.getFileSystem()->getCurrentWorkingDirectory(); in getCurrentDirname()