Use std::error_code instead of llvm::error_code.
[oota-llvm.git] / unittests / Transforms / DebugIR / DebugIR.cpp
index 49ea09f7c6de58903657aed526235e63e0523b95..5860e31b9d721b76b4df1ff209d9204ca5570632 100644 (file)
@@ -58,7 +58,7 @@ 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);
-  return EC != llvm::errc::no_such_file_or_directory;
+  return EC != std::errc::no_such_file_or_directory;
 }
 
 char * current_dir() {