diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2014-06-12 21:46:39 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2014-06-12 21:46:39 +0000 |
commit | 5c792faa0e5560bc148c973f3df658eb3bb2061e (patch) | |
tree | 6ede225c2e59359a60804bb1d823f9db9072892a /lib/IR | |
parent | 7418e1f4bd5a4bda32af18f46ff2837221d12d5c (diff) | |
download | llvm-5c792faa0e5560bc148c973f3df658eb3bb2061e.tar.gz llvm-5c792faa0e5560bc148c973f3df658eb3bb2061e.tar.bz2 llvm-5c792faa0e5560bc148c973f3df658eb3bb2061e.tar.xz |
Don't use 'using std::error_code' in include/llvm.
This should make sure that most new uses use the std prefix.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@210835 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/IR')
-rw-r--r-- | lib/IR/Core.cpp | 1 | ||||
-rw-r--r-- | lib/IR/GCOV.cpp | 1 | ||||
-rw-r--r-- | lib/IR/Module.cpp | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/lib/IR/Core.cpp b/lib/IR/Core.cpp index db3128cfa0..5dfe9a68a2 100644 --- a/lib/IR/Core.cpp +++ b/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/lib/IR/GCOV.cpp b/lib/IR/GCOV.cpp index 77dd7e881b..c8dc951a9b 100644 --- a/lib/IR/GCOV.cpp +++ b/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/lib/IR/Module.cpp b/lib/IR/Module.cpp index 91b2d91c62..bc72a67917 100644 --- a/lib/IR/Module.cpp +++ b/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. |