Home
last modified time | relevance | path

Searched refs:TempPath (Results 1 – 2 of 2) sorted by relevance

/external/llvm/unittests/Support/
DPath.cpp171 SmallString<64> TempPath; in TEST_F() local
173 fs::unique_file("%%-%%-%%-%%.temp", FileDescriptor, TempPath)); in TEST_F()
177 ASSERT_NO_ERROR(sys::fs::exists(Twine(TempPath), TempFileExists)); in TEST_F()
184 ASSERT_NE(TempPath.str(), TempPath2.str()); in TEST_F()
188 fs::copy_file(Twine(TempPath), Twine(TempPath2)), errc::file_exists); in TEST_F()
192 ASSERT_NO_ERROR(fs::copy_file(Twine(TempPath), Twine(TempPath2), in TEST_F()
203 ASSERT_NO_ERROR(fs::create_hard_link(Twine(TempPath), Twine(TempPath2))); in TEST_F()
205 ASSERT_NO_ERROR(fs::equivalent(Twine(TempPath), Twine(TempPath2), equal)); in TEST_F()
210 ASSERT_NO_ERROR(fs::remove(Twine(TempPath), TempFileExists)); in TEST_F()
218 ASSERT_NO_ERROR(fs::exists(Twine(TempPath), TempFileExists)); in TEST_F()
/external/clang/lib/Frontend/
DCompilerInstance.cpp491 llvm::sys::Path TempPath(OutFile); in createOutputFile() local
492 if (!TempPath.createTemporaryFileOnDisk()) in createOutputFile()
493 TempFile = TempPath.str(); in createOutputFile()