summaryrefslogtreecommitdiff
path: root/lib/ProfileData
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ProfileData')
-rw-r--r--lib/ProfileData/InstrProf.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/ProfileData/InstrProf.cpp b/lib/ProfileData/InstrProf.cpp
index 628edfb86c..0121222720 100644
--- a/lib/ProfileData/InstrProf.cpp
+++ b/lib/ProfileData/InstrProf.cpp
@@ -52,12 +52,6 @@ class InstrProfErrorCategoryType : public std::error_category {
}
llvm_unreachable("A value of instrprof_error has no message.");
}
- std::error_condition
- default_error_condition(int EV) const LLVM_NOEXCEPT override {
- if (static_cast<instrprof_error>(EV) == instrprof_error::success)
- return std::error_condition();
- return std::errc::invalid_argument;
- }
};
}