summaryrefslogtreecommitdiffstats
path: root/llvm/unittests/Transforms
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2014-06-12 14:11:22 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2014-06-12 14:11:22 +0000
commit0a5f9cf50d81e70850f4a21254526da7945854f6 (patch)
treedd65cc25505d69f506af458cf1e8d41eae17b10a /llvm/unittests/Transforms
parent95f0d51bd37481a31847826ac5ac88e8fd088747 (diff)
downloadbcm5719-llvm-0a5f9cf50d81e70850f4a21254526da7945854f6.tar.gz
bcm5719-llvm-0a5f9cf50d81e70850f4a21254526da7945854f6.zip
Replace llvm::error_code with std::error_code.
llvm-svn: 210783
Diffstat (limited to 'llvm/unittests/Transforms')
-rw-r--r--llvm/unittests/Transforms/DebugIR/DebugIR.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/unittests/Transforms/DebugIR/DebugIR.cpp b/llvm/unittests/Transforms/DebugIR/DebugIR.cpp
index 5860e31b9d7..c4ebc5cfa4a 100644
--- a/llvm/unittests/Transforms/DebugIR/DebugIR.cpp
+++ b/llvm/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;
}
OpenPOWER on IntegriCloud