diff options
Diffstat (limited to 'unittests')
-rw-r--r-- | unittests/Transforms/DebugIR/DebugIR.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unittests/Transforms/DebugIR/DebugIR.cpp b/unittests/Transforms/DebugIR/DebugIR.cpp index 5860e31b9d..c4ebc5cfa4 100644 --- a/unittests/Transforms/DebugIR/DebugIR.cpp +++ b/unittests/Transforms/DebugIR/DebugIR.cpp @@ -57,7 +57,7 @@ void insertCUDescriptor(Module *M, StringRef File, StringRef Dir, bool removeIfExists(StringRef Path) { // This is an approximation, on error we don't know in general if the file // existed or not. - llvm::error_code EC = sys::fs::remove(Path, false); + std::error_code EC = sys::fs::remove(Path, false); return EC != std::errc::no_such_file_or_directory; } |