diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2014-06-12 14:02:15 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2014-06-12 14:02:15 +0000 |
commit | c080917ec2d1b6cb94186875632fec9118b424b6 (patch) | |
tree | 831f417b0724dd04cbe075e5e2937c3dde0c4061 /clang/lib/Driver/Compilation.cpp | |
parent | 6c97d979dfe45d5dd14a6aa44cbcc31dde0fc752 (diff) | |
download | bcm5719-llvm-c080917ec2d1b6cb94186875632fec9118b424b6.tar.gz bcm5719-llvm-c080917ec2d1b6cb94186875632fec9118b424b6.zip |
Replace llvm::error_code with std::error_code.
llvm-svn: 210780
Diffstat (limited to 'clang/lib/Driver/Compilation.cpp')
-rw-r--r-- | clang/lib/Driver/Compilation.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Driver/Compilation.cpp b/clang/lib/Driver/Compilation.cpp index 8ec643c4a4d..4baa195d3b8 100644 --- a/clang/lib/Driver/Compilation.cpp +++ b/clang/lib/Driver/Compilation.cpp @@ -86,7 +86,7 @@ bool Compilation::CleanupFile(const char *File, bool IssueErrors) const { if (!llvm::sys::fs::can_write(File) || !llvm::sys::fs::is_regular_file(File)) return true; - if (llvm::error_code EC = llvm::sys::fs::remove(File)) { + if (std::error_code EC = llvm::sys::fs::remove(File)) { // Failure is only failure if the file exists and is "regular". We checked // for it being regular before, and llvm::sys::fs::remove ignores ENOENT, // so we don't need to check again. |