summaryrefslogtreecommitdiff
path: root/lib/IR
diff options
context:
space:
mode:
Diffstat (limited to 'lib/IR')
-rw-r--r--lib/IR/Core.cpp1
-rw-r--r--lib/IR/GCOV.cpp1
-rw-r--r--lib/IR/Module.cpp1
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.