diff options
Diffstat (limited to 'clang-tools-extra/unittests/clang-modernize/TransformTest.cpp')
-rw-r--r-- | clang-tools-extra/unittests/clang-modernize/TransformTest.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang-tools-extra/unittests/clang-modernize/TransformTest.cpp b/clang-tools-extra/unittests/clang-modernize/TransformTest.cpp index 18866c2040d..ae05f5a4e4f 100644 --- a/clang-tools-extra/unittests/clang-modernize/TransformTest.cpp +++ b/clang-tools-extra/unittests/clang-modernize/TransformTest.cpp @@ -124,7 +124,7 @@ TEST(Transform, Timings) { // file anyway. What is important is that we have an absolute path with which // to use with mapVirtualFile(). SmallString<128> CurrentDir; - llvm::error_code EC = llvm::sys::fs::current_path(CurrentDir); + std::error_code EC = llvm::sys::fs::current_path(CurrentDir); assert(!EC); (void)EC; @@ -237,7 +237,7 @@ TEST(Transform, isFileModifiable) { // file anyway. What is important is that we have an absolute path with which // to use with mapVirtualFile(). SmallString<128> CurrentDir; - llvm::error_code EC = llvm::sys::fs::current_path(CurrentDir); + std::error_code EC = llvm::sys::fs::current_path(CurrentDir); assert(!EC); (void)EC; |