summaryrefslogtreecommitdiffstats
path: root/llvm/tools/bugpoint/ExtractFunction.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2014-06-13 03:07:50 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2014-06-13 03:07:50 +0000
commit4453e4294515bfc0cff16fdd7278f217d9efba4f (patch)
tree3d7139f652f8d50a7f9cf89807e50d89cb4f2e3e /llvm/tools/bugpoint/ExtractFunction.cpp
parent567b1546ac5446005757eaf3a2875a75648c8fc4 (diff)
downloadbcm5719-llvm-4453e4294515bfc0cff16fdd7278f217d9efba4f.tar.gz
bcm5719-llvm-4453e4294515bfc0cff16fdd7278f217d9efba4f.zip
Remove 'using std::error_code' from tools.
llvm-svn: 210876
Diffstat (limited to 'llvm/tools/bugpoint/ExtractFunction.cpp')
-rw-r--r--llvm/tools/bugpoint/ExtractFunction.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/tools/bugpoint/ExtractFunction.cpp b/llvm/tools/bugpoint/ExtractFunction.cpp
index a257840b6e0..4fb68566ac6 100644
--- a/llvm/tools/bugpoint/ExtractFunction.cpp
+++ b/llvm/tools/bugpoint/ExtractFunction.cpp
@@ -33,7 +33,6 @@
#include "llvm/Transforms/Utils/CodeExtractor.h"
#include <set>
using namespace llvm;
-using std::error_code;
#define DEBUG_TYPE "bugpoint"
@@ -367,7 +366,7 @@ Module *BugDriver::ExtractMappedBlocksFromModule(const
Module *M) {
SmallString<128> Filename;
int FD;
- error_code EC = sys::fs::createUniqueFile(
+ std::error_code EC = sys::fs::createUniqueFile(
OutputPrefix + "-extractblocks%%%%%%%", FD, Filename);
if (EC) {
outs() << "*** Basic Block extraction failed!\n";
OpenPOWER on IntegriCloud