[PATCH] D34866: [ORE] Remove old "diagnostic hotness" spelling
Brian Gesiak via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 29 23:34:09 PDT 2017
modocache created this revision.
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".
https://reviews.llvm.org/D34866
Files:
include/llvm/IR/LLVMContext.h
lib/IR/LLVMContext.cpp
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;
}
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D34866.104820.patch
Type: text/x-patch
Size: 1505 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170630/207ed803/attachment.bin>
More information about the llvm-commits
mailing list