Index: include/llvm/IR/LLVMContext.h =================================================================== --- include/llvm/IR/LLVMContext.h +++ include/llvm/IR/LLVMContext.h @@ -187,15 +187,6 @@ 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 Index: lib/IR/LLVMContext.cpp =================================================================== --- lib/IR/LLVMContext.cpp +++ lib/IR/LLVMContext.cpp @@ -125,13 +125,6 @@ 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; }