diff options
Diffstat (limited to 'unittests/Tooling/RefactoringTest.cpp')
-rw-r--r-- | unittests/Tooling/RefactoringTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unittests/Tooling/RefactoringTest.cpp b/unittests/Tooling/RefactoringTest.cpp index f4c086c4a3..f8d10d286e 100644 --- a/unittests/Tooling/RefactoringTest.cpp +++ b/unittests/Tooling/RefactoringTest.cpp @@ -194,7 +194,7 @@ public: SmallString<1024> Path; int FD; llvm::error_code EC = - llvm::sys::fs::unique_file(Twine(Name) + "%%%%%%", FD, Path); + llvm::sys::fs::createTemporaryFile(Name, "", FD, Path); assert(!EC); (void)EC; |