[llvm] r306866 - [ORE] Remove old "diagnostic hotness" spelling

Brian Gesiak via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 30 12:56:55 PDT 2017


Author: modocache
Date: Fri Jun 30 12:56:55 2017
New Revision: 306866

URL: http://llvm.org/viewvc/llvm-project?rev=306866&view=rev
Log:
[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

Modified:
    llvm/trunk/include/llvm/IR/LLVMContext.h
    llvm/trunk/lib/IR/LLVMContext.cpp

Modified: llvm/trunk/include/llvm/IR/LLVMContext.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/IR/LLVMContext.h?rev=306866&r1=306865&r2=306866&view=diff
==============================================================================
--- llvm/trunk/include/llvm/IR/LLVMContext.h (original)
+++ llvm/trunk/include/llvm/IR/LLVMContext.h Fri Jun 30 12:56:55 2017
@@ -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

Modified: llvm/trunk/lib/IR/LLVMContext.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/IR/LLVMContext.cpp?rev=306866&r1=306865&r2=306866&view=diff
==============================================================================
--- llvm/trunk/lib/IR/LLVMContext.cpp (original)
+++ llvm/trunk/lib/IR/LLVMContext.cpp Fri Jun 30 12:56:55 2017
@@ -125,13 +125,6 @@ void LLVMContext::setDiagnosticHandler(D
   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;
 }




More information about the llvm-commits mailing list