Home
last modified time | relevance | path

Searched refs:setCurrentWorkingDirectory (Results 1 – 18 of 18) sorted by relevance

/llvm-project-15.0.7/clang/unittests/Tooling/
H A DDependencyScannerTest.cpp87 VFS->setCurrentWorkingDirectory(CWD); in TEST()
136 VFS->setCurrentWorkingDirectory(CWD); in TEST()
178 VFS->setCurrentWorkingDirectory(CWD); in TEST()
220 VFS->setCurrentWorkingDirectory(CWD); in TEST()
/llvm-project-15.0.7/llvm/unittests/Support/
H A DVirtualFileSystemTest.cpp1059 FS.setCurrentWorkingDirectory("/b"); in TEST_F()
1070 NormalizedFS.setCurrentWorkingDirectory("/b/c"); in TEST_F()
1071 NormalizedFS.setCurrentWorkingDirectory("."); in TEST_F()
1074 NormalizedFS.setCurrentWorkingDirectory(".."); in TEST_F()
1080 FS.setCurrentWorkingDirectory("/b"); in TEST_F()
1102 FS.setCurrentWorkingDirectory("a"); in TEST_F()
1107 FS.setCurrentWorkingDirectory("/a"); in TEST_F()
1204 NormalizedFS.setCurrentWorkingDirectory("/a/b"); in TEST_F()
2564 EC = FS->setCurrentWorkingDirectory("bogus"); in TEST_F()
2570 EC = FS->setCurrentWorkingDirectory("//root/"); in TEST_F()
[all …]
H A DCommandLineTest.cpp833 FS.setCurrentWorkingDirectory(TestRoot); in TEST()
889 FS.setCurrentWorkingDirectory(TestRoot); in TEST()
953 FS.setCurrentWorkingDirectory(TestRoot); in TEST()
994 FS.setCurrentWorkingDirectory(TestRoot); in TEST()
1022 FS.setCurrentWorkingDirectory(TestRoot); in TEST()
/llvm-project-15.0.7/clang/unittests/Basic/
H A DFileManagerTest.cpp428 ASSERT_TRUE(!FS->setCurrentWorkingDirectory(CustomWorkingDir)); in TEST_F()
449 ASSERT_TRUE(!FS->setCurrentWorkingDirectory(CustomWorkingDir)); in TEST_F()
476 ASSERT_TRUE(!FS->setCurrentWorkingDirectory(CustomWorkingDir)); in TEST_F()
508 ASSERT_TRUE(!FS->setCurrentWorkingDirectory(CustomWorkingDir)); in TEST_F()
/llvm-project-15.0.7/clang-tools-extra/clangd/unittests/tweaks/
H A DTweakTests.cpp43 MemFS->setCurrentWorkingDirectory(testRoot()); in TEST()
/llvm-project-15.0.7/llvm/include/llvm/Support/
H A DVirtualFileSystem.h292 virtual std::error_code setCurrentWorkingDirectory(const Twine &Path) = 0;
385 std::error_code setCurrentWorkingDirectory(const Twine &Path) override;
442 std::error_code setCurrentWorkingDirectory(const Twine &Path) override { in setCurrentWorkingDirectory() function
443 return FS->setCurrentWorkingDirectory(Path); in setCurrentWorkingDirectory()
604 std::error_code setCurrentWorkingDirectory(const Twine &Path) override;
979 std::error_code setCurrentWorkingDirectory(const Twine &Path) override;
/llvm-project-15.0.7/clang-tools-extra/clangd/support/
H A DThreadsafeFS.cpp78 if (auto EC = FS->setCurrentWorkingDirectory(CWD)) in view()
/llvm-project-15.0.7/llvm/lib/Support/
H A DFileCollector.cpp300 std::error_code setCurrentWorkingDirectory(const llvm::Twine &Path) override { in setCurrentWorkingDirectory() function in llvm::FileCollectorFileSystem
301 return FS->setCurrentWorkingDirectory(Path); in setCurrentWorkingDirectory()
H A DVirtualFileSystem.cpp275 std::error_code setCurrentWorkingDirectory(const Twine &Path) override;
336 std::error_code RealFileSystem::setCurrentWorkingDirectory(const Twine &Path) { in setCurrentWorkingDirectory() function in RealFileSystem
427 FS->setCurrentWorkingDirectory(getCurrentWorkingDirectory().get()); in pushOverlay()
458 OverlayFileSystem::setCurrentWorkingDirectory(const Twine &Path) { in setCurrentWorkingDirectory() function in OverlayFileSystem
460 if (std::error_code EC = FS->setCurrentWorkingDirectory(Path)) in setCurrentWorkingDirectory()
1138 std::error_code InMemoryFileSystem::setCurrentWorkingDirectory(const Twine &P) { in setCurrentWorkingDirectory() function in llvm::vfs::InMemoryFileSystem
1324 RedirectingFileSystem::setCurrentWorkingDirectory(const Twine &Path) { in setCurrentWorkingDirectory() function in RedirectingFileSystem
/llvm-project-15.0.7/clang/unittests/Frontend/
H A DCodeGenActionTest.cpp86 VFS->setCurrentWorkingDirectory("/in-memory-fs-cwd"); in TEST()
H A DPCHPreambleTest.cpp70 VFS->setCurrentWorkingDirectory("//./"); in ResetVFS()
/llvm-project-15.0.7/lldb/unittests/Host/
H A DFileSystemTest.cpp66 std::error_code setCurrentWorkingDirectory(const Twine &Path) override { in setCurrentWorkingDirectory() function in __anonef9ab2f10111::DummyFileSystem
182 D->setCurrentWorkingDirectory("/"); in GetSimpleDummyFS()
/llvm-project-15.0.7/clang-tools-extra/clangd/unittests/
H A DTestFS.cpp38 MemFS->setCurrentWorkingDirectory(testRoot()); in buildTestFS()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/
H A DClangTidy.cpp602 FileSystem.setCurrentWorkingDirectory(Error.BuildDirectory); in handleErrors()
606 FileSystem.setCurrentWorkingDirectory(InitialWorkingDir.get()); in handleErrors()
/llvm-project-15.0.7/clang/lib/Tooling/
H A DTooling.cpp540 if (OverlayFileSystem->setCurrentWorkingDirectory( in run()
588 OverlayFileSystem->setCurrentWorkingDirectory(InitialWorkingDir)) in run()
/llvm-project-15.0.7/clang/lib/Tooling/DependencyScanning/
H A DDependencyScanningWorker.cpp313 RealFS->setCurrentWorkingDirectory(WorkingDirectory); in computeDependencies()
/llvm-project-15.0.7/clang-tools-extra/unittests/clang-move/
H A DClangMoveTests.cpp213 Context.InMemoryFileSystem->setCurrentWorkingDirectory(Dir); in runClangMoveOnCode()
/llvm-project-15.0.7/clang/lib/Driver/
H A DDriver.cpp1190 if (VFS->setCurrentWorkingDirectory(WD->getValue())) in BuildCompilation()