Replace llvm::error_code with std::error_code.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@210783 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Rafael Espindola
2014-06-12 14:11:22 +00:00
parent 7edfaf7148
commit 15aa07b2e8
5 changed files with 12 additions and 12 deletions

View File

@@ -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;
}