summaryrefslogtreecommitdiff
path: root/lib/ProfileData/InstrProfReader.cpp
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 /lib/ProfileData/InstrProfReader.cpp
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 'lib/ProfileData/InstrProfReader.cpp')
-rw-r--r--lib/ProfileData/InstrProfReader.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/ProfileData/InstrProfReader.cpp b/lib/ProfileData/InstrProfReader.cpp
index 7014f5e5cc..8d3ec5d2a3 100644
--- a/lib/ProfileData/InstrProfReader.cpp
+++ b/lib/ProfileData/InstrProfReader.cpp
@@ -20,6 +20,7 @@
#include <cassert>
using namespace llvm;
+using std::error_code;
static error_code setupMemoryBuffer(std::string Path,
std::unique_ptr<MemoryBuffer> &Buffer) {