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 /tools/bugpoint | |
parent | 7418e1f4bd5a4bda32af18f46ff2837221d12d5c (diff) |
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 'tools/bugpoint')
-rw-r--r-- | tools/bugpoint/ExecutionDriver.cpp | 1 | ||||
-rw-r--r-- | tools/bugpoint/ExtractFunction.cpp | 1 | ||||
-rw-r--r-- | tools/bugpoint/Miscompilation.cpp | 1 | ||||
-rw-r--r-- | tools/bugpoint/OptimizerDriver.cpp | 1 | ||||
-rw-r--r-- | tools/bugpoint/ToolRunner.cpp | 1 |
5 files changed, 5 insertions, 0 deletions
diff --git a/tools/bugpoint/ExecutionDriver.cpp b/tools/bugpoint/ExecutionDriver.cpp index 5ed7d2cab3c..b41a4b03346 100644 --- a/tools/bugpoint/ExecutionDriver.cpp +++ b/tools/bugpoint/ExecutionDriver.cpp @@ -22,6 +22,7 @@ #include <fstream> using namespace llvm; +using std::error_code; namespace { // OutputType - Allow the user to specify the way code should be run, to test diff --git a/tools/bugpoint/ExtractFunction.cpp b/tools/bugpoint/ExtractFunction.cpp index 38cdf241ce7..a257840b6e0 100644 --- a/tools/bugpoint/ExtractFunction.cpp +++ b/tools/bugpoint/ExtractFunction.cpp @@ -33,6 +33,7 @@ #include "llvm/Transforms/Utils/CodeExtractor.h" #include <set> using namespace llvm; +using std::error_code; #define DEBUG_TYPE "bugpoint" diff --git a/tools/bugpoint/Miscompilation.cpp b/tools/bugpoint/Miscompilation.cpp index f5936ac88ea..5143fa1f037 100644 --- a/tools/bugpoint/Miscompilation.cpp +++ b/tools/bugpoint/Miscompilation.cpp @@ -27,6 +27,7 @@ #include "llvm/Support/FileUtilities.h" #include "llvm/Transforms/Utils/Cloning.h" using namespace llvm; +using std::error_code; namespace llvm { extern cl::opt<std::string> OutputPrefix; diff --git a/tools/bugpoint/OptimizerDriver.cpp b/tools/bugpoint/OptimizerDriver.cpp index b2722e6d0e7..85790b0c631 100644 --- a/tools/bugpoint/OptimizerDriver.cpp +++ b/tools/bugpoint/OptimizerDriver.cpp @@ -35,6 +35,7 @@ #include <fstream> using namespace llvm; +using std::error_code; #define DEBUG_TYPE "bugpoint" diff --git a/tools/bugpoint/ToolRunner.cpp b/tools/bugpoint/ToolRunner.cpp index c481b03e2b9..ec120bb0b2f 100644 --- a/tools/bugpoint/ToolRunner.cpp +++ b/tools/bugpoint/ToolRunner.cpp @@ -22,6 +22,7 @@ #include <fstream> #include <sstream> using namespace llvm; +using std::error_code; #define DEBUG_TYPE "toolrunner" |