summaryrefslogtreecommitdiff
path: root/utils
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
commit5c792faa0e5560bc148c973f3df658eb3bb2061e (patch)
tree6ede225c2e59359a60804bb1d823f9db9072892a /utils
parent7418e1f4bd5a4bda32af18f46ff2837221d12d5c (diff)
downloadllvm-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 'utils')
-rw-r--r--utils/FileCheck/FileCheck.cpp1
-rw-r--r--utils/FileUpdate/FileUpdate.cpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/utils/FileCheck/FileCheck.cpp b/utils/FileCheck/FileCheck.cpp
index a5ec07f955..190a2ad52d 100644
--- a/utils/FileCheck/FileCheck.cpp
+++ b/utils/FileCheck/FileCheck.cpp
@@ -34,6 +34,7 @@
#include <system_error>
#include <vector>
using namespace llvm;
+using std::error_code;
static cl::opt<std::string>
CheckFilename(cl::Positional, cl::desc("<check-file>"), cl::Required);
diff --git a/utils/FileUpdate/FileUpdate.cpp b/utils/FileUpdate/FileUpdate.cpp
index 9e494bfca6..2bf5e067a4 100644
--- a/utils/FileUpdate/FileUpdate.cpp
+++ b/utils/FileUpdate/FileUpdate.cpp
@@ -21,6 +21,7 @@
#include "llvm/Support/ToolOutputFile.h"
#include <system_error>
using namespace llvm;
+using std::error_code;
static cl::opt<bool>
Quiet("quiet", cl::desc("Don't print unnecessary status information"),