]> granicus.if.org Git - llvm/commitdiff
[ORE] Remove old "diagnostic hotness" spelling
authorBrian Gesiak <modocache@gmail.com>
Fri, 30 Jun 2017 19:56:55 +0000 (19:56 +0000)
committerBrian Gesiak <modocache@gmail.com>
Fri, 30 Jun 2017 19:56:55 +0000 (19:56 +0000)
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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@306866 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/IR/LLVMContext.h
lib/IR/LLVMContext.cpp

index ac805201c88a2a995dfc2d2f508fc826a9d0713d..c8ff90e3b083109932aeab8dfd378ffc7132b6c7 100644 (file)
@@ -186,15 +186,6 @@ public:
   /// setDiagnosticContext.
   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;
index b64674fc55ca1dfc61b1c27b182d6178991b64ea..ed3f10601bf424bb81e3ead12d76c8b0759f93b8 100644 (file)
@@ -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;
 }