summaryrefslogtreecommitdiffstats
path: root/llvm/lib/ProfileData/InstrProf.cpp
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
commit25188c95de6bd74e15dad873ff5fc7e7c1330191 (patch)
tree325de84cba8ce381a3be7853e913180b056800fd /llvm/lib/ProfileData/InstrProf.cpp
parent92d8b456d92927b1a86110dce0a3567062eab801 (diff)
downloadbcm5719-llvm-25188c95de6bd74e15dad873ff5fc7e7c1330191.tar.gz
bcm5719-llvm-25188c95de6bd74e15dad873ff5fc7e7c1330191.zip
Don't import error_category into the llvm namespace.
llvm-svn: 210733
Diffstat (limited to 'llvm/lib/ProfileData/InstrProf.cpp')
-rw-r--r--llvm/lib/ProfileData/InstrProf.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/ProfileData/InstrProf.cpp b/llvm/lib/ProfileData/InstrProf.cpp
index 88ae7582ccb..628edfb86cd 100644
--- a/llvm/lib/ProfileData/InstrProf.cpp
+++ b/llvm/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;
}
OpenPOWER on IntegriCloud