summaryrefslogtreecommitdiff
path: root/lib/ProfileData
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2014-06-12 01:45:43 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2014-06-12 01:45:43 +0000
commit9ee34311f3a9f6d49023bc74f6028133f90e1d4f (patch)
tree6b3d06f5e87630dedb0061106b53f58c8b2b5c12 /lib/ProfileData
parent173d7ff83300ece5cc18049cf5c909c1e8d179d9 (diff)
downloadllvm-9ee34311f3a9f6d49023bc74f6028133f90e1d4f.tar.gz
llvm-9ee34311f3a9f6d49023bc74f6028133f90e1d4f.tar.bz2
llvm-9ee34311f3a9f6d49023bc74f6028133f90e1d4f.tar.xz
Don't import error_category into the llvm namespace.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@210733 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/ProfileData')
-rw-r--r--lib/ProfileData/InstrProf.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ProfileData/InstrProf.cpp b/lib/ProfileData/InstrProf.cpp
index 88ae7582cc..628edfb86c 100644
--- a/lib/ProfileData/InstrProf.cpp
+++ b/lib/ProfileData/InstrProf.cpp
@@ -18,7 +18,7 @@
using namespace llvm;
namespace {
-class InstrProfErrorCategoryType : public error_category {
+class InstrProfErrorCategoryType : public std::error_category {
const char *name() const LLVM_NOEXCEPT override { return "llvm.instrprof"; }
std::string message(int IE) const override {
instrprof_error E = static_cast<instrprof_error>(IE);
@@ -61,7 +61,7 @@ class InstrProfErrorCategoryType : public error_category {
};
}
-const error_category &llvm::instrprof_category() {
+const std::error_category &llvm::instrprof_category() {
static InstrProfErrorCategoryType C;
return C;
}