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
/// 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;
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;
}