summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Gesiak <modocache@gmail.com>2017-06-30 19:56:55 +0000
committerBrian Gesiak <modocache@gmail.com>2017-06-30 19:56:55 +0000
commitbbdc1c7d46cb4e6ca295561b1ef9612276bcd23f (patch)
treed9576b540c384af6986cf005f0411dcf0062d17c
parent2b5f03aa12313a796b87b9a11414872d598b2c2c (diff)
downloadbcm5719-llvm-bbdc1c7d46cb4e6ca295561b1ef9612276bcd23f.tar.gz
bcm5719-llvm-bbdc1c7d46cb4e6ca295561b1ef9612276bcd23f.zip
[ORE] Remove old "diagnostic hotness" spelling
Summary: Depends on https://reviews.llvm.org/D34865. With the Clang uses of the old spelling having been removed in https://reviews.llvm.org/D34865, get rid of the old "diagnostic hotness" spellings in favor of the new "diagnostics hotness". Reviewers: anemet, davidxl Reviewed By: anemet Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D34866 llvm-svn: 306866
-rw-r--r--llvm/include/llvm/IR/LLVMContext.h9
-rw-r--r--llvm/lib/IR/LLVMContext.cpp7
2 files changed, 0 insertions, 16 deletions
diff --git a/llvm/include/llvm/IR/LLVMContext.h b/llvm/include/llvm/IR/LLVMContext.h
index ac805201c88..c8ff90e3b08 100644
--- a/llvm/include/llvm/IR/LLVMContext.h
+++ b/llvm/include/llvm/IR/LLVMContext.h
@@ -187,15 +187,6 @@ public:
void *getDiagnosticContext() const;
/// \brief Return if a code hotness metric should be included in optimization
- /// diagnostics. This method is deprecated; use getDiagnosticsHotnessRequested
- /// instead.
- bool getDiagnosticHotnessRequested() const;
- /// \brief Set if a code hotness metric should be included in optimization
- /// diagnostics. This method is deprecated; use setDiagnosticsHotnessRequested
- /// instead.
- void setDiagnosticHotnessRequested(bool Requested);
-
- /// \brief Return if a code hotness metric should be included in optimization
/// diagnostics.
bool getDiagnosticsHotnessRequested() const;
/// \brief Set if a code hotness metric should be included in optimization
diff --git a/llvm/lib/IR/LLVMContext.cpp b/llvm/lib/IR/LLVMContext.cpp
index b64674fc55c..ed3f10601bf 100644
--- a/llvm/lib/IR/LLVMContext.cpp
+++ b/llvm/lib/IR/LLVMContext.cpp
@@ -125,13 +125,6 @@ void LLVMContext::setDiagnosticHandler(DiagnosticHandlerTy DiagnosticHandler,
pImpl->RespectDiagnosticFilters = RespectFilters;
}
-void LLVMContext::setDiagnosticHotnessRequested(bool Requested) {
- pImpl->DiagnosticsHotnessRequested = Requested;
-}
-bool LLVMContext::getDiagnosticHotnessRequested() const {
- return pImpl->DiagnosticsHotnessRequested;
-}
-
void LLVMContext::setDiagnosticsHotnessRequested(bool Requested) {
pImpl->DiagnosticsHotnessRequested = Requested;
}
OpenPOWER on IntegriCloud