summaryrefslogtreecommitdiffstats
path: root/llvm/lib/IR/GCOV.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2014-06-13 02:24:39 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2014-06-13 02:24:39 +0000
commitdb4ed0bdabc9f61fbd373be416375e38bf1acb27 (patch)
tree0efbd2559140b336f68d1a7528dcc64add57602d /llvm/lib/IR/GCOV.cpp
parent3453bcf64d394b109ccab19915ba2fa40feeb59b (diff)
downloadbcm5719-llvm-db4ed0bdabc9f61fbd373be416375e38bf1acb27.tar.gz
bcm5719-llvm-db4ed0bdabc9f61fbd373be416375e38bf1acb27.zip
Remove 'using std::errro_code' from lib.
llvm-svn: 210871
Diffstat (limited to 'llvm/lib/IR/GCOV.cpp')
-rw-r--r--llvm/lib/IR/GCOV.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/IR/GCOV.cpp b/llvm/lib/IR/GCOV.cpp
index c8dc951a9bf..b4c7977d52e 100644
--- a/llvm/lib/IR/GCOV.cpp
+++ b/llvm/lib/IR/GCOV.cpp
@@ -22,7 +22,6 @@
#include <algorithm>
#include <system_error>
using namespace llvm;
-using std::error_code;
//===----------------------------------------------------------------------===//
// GCOVFile implementation.
@@ -439,7 +438,7 @@ class LineConsumer {
StringRef Remaining;
public:
LineConsumer(StringRef Filename) {
- if (error_code EC = MemoryBuffer::getFileOrSTDIN(Filename, Buffer)) {
+ if (std::error_code EC = MemoryBuffer::getFileOrSTDIN(Filename, Buffer)) {
errs() << Filename << ": " << EC.message() << "\n";
Remaining = "";
} else
OpenPOWER on IntegriCloud