Index: cfe/trunk/unittests/Tooling/ToolingTest.cpp =================================================================== --- cfe/trunk/unittests/Tooling/ToolingTest.cpp +++ cfe/trunk/unittests/Tooling/ToolingTest.cpp @@ -319,8 +319,8 @@ TEST(runToolOnCodeWithArgs, TestNoDepFile) { llvm::SmallString<32> DepFilePath; - ASSERT_FALSE( - llvm::sys::fs::createTemporaryFile("depfile", "d", DepFilePath)); + ASSERT_FALSE(llvm::sys::fs::getPotentiallyUniqueTempFileName("depfile", "d", + DepFilePath)); std::vector Args; Args.push_back("-MMD"); Args.push_back("-MT");