aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/IR
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2014-06-12 21:46:39 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2014-06-12 21:46:39 +0000
commit3acea39853d1a5ef2f3920c27f5748778fe53af9 (patch)
treef93b4e1c0fcdb02cf6c80b8e894f0f3b92f1bcac /llvm/lib/IR
parentb6e7d64f3070db641c332ca495215b8c3b887882 (diff)
downloadllvm-3acea39853d1a5ef2f3920c27f5748778fe53af9.zip
llvm-3acea39853d1a5ef2f3920c27f5748778fe53af9.tar.gz
llvm-3acea39853d1a5ef2f3920c27f5748778fe53af9.tar.bz2
Don't use 'using std::error_code' in include/llvm.
This should make sure that most new uses use the std prefix. llvm-svn: 210835
Diffstat (limited to 'llvm/lib/IR')
-rw-r--r--llvm/lib/IR/Core.cpp1
-rw-r--r--llvm/lib/IR/GCOV.cpp1
-rw-r--r--llvm/lib/IR/Module.cpp1
3 files changed, 3 insertions, 0 deletions
diff --git a/llvm/lib/IR/Core.cpp b/llvm/lib/IR/Core.cpp
index db3128c..5dfe9a6 100644
--- a/llvm/lib/IR/Core.cpp
+++ b/llvm/lib/IR/Core.cpp
@@ -41,6 +41,7 @@
#include <system_error>
using namespace llvm;
+using std::error_code;
#define DEBUG_TYPE "ir"
diff --git a/llvm/lib/IR/GCOV.cpp b/llvm/lib/IR/GCOV.cpp
index 77dd7e8..c8dc951 100644
--- a/llvm/lib/IR/GCOV.cpp
+++ b/llvm/lib/IR/GCOV.cpp
@@ -22,6 +22,7 @@
#include <algorithm>
#include <system_error>
using namespace llvm;
+using std::error_code;
//===----------------------------------------------------------------------===//
// GCOVFile implementation.
diff --git a/llvm/lib/IR/Module.cpp b/llvm/lib/IR/Module.cpp
index 91b2d91..bc72a67 100644
--- a/llvm/lib/IR/Module.cpp
+++ b/llvm/lib/IR/Module.cpp
@@ -28,6 +28,7 @@
#include <cstdarg>
#include <cstdlib>
using namespace llvm;
+using std::error_code;
//===----------------------------------------------------------------------===//
// Methods to implement the globals and functions lists.