llvm.org GIT mirror llvm / a6974a4
[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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@306866 91177308-0d34-0410-b5e6-96231b3b80d8 Brian Gesiak 3 years ago
2 changed file(s) with 0 addition(s) and 16 deletion(s). Raw diff Collapse all Expand all
186186 void *getDiagnosticContext() const;
187187
188188 /// \brief Return if a code hotness metric should be included in optimization
189 /// diagnostics. This method is deprecated; use getDiagnosticsHotnessRequested
190 /// instead.
191 bool getDiagnosticHotnessRequested() const;
192 /// \brief Set if a code hotness metric should be included in optimization
193 /// diagnostics. This method is deprecated; use setDiagnosticsHotnessRequested
194 /// instead.
195 void setDiagnosticHotnessRequested(bool Requested);
196
197 /// \brief Return if a code hotness metric should be included in optimization
198189 /// diagnostics.
199190 bool getDiagnosticsHotnessRequested() const;
200191 /// \brief Set if a code hotness metric should be included in optimization
124124 pImpl->RespectDiagnosticFilters = RespectFilters;
125125 }
126126
127 void LLVMContext::setDiagnosticHotnessRequested(bool Requested) {
128 pImpl->DiagnosticsHotnessRequested = Requested;
129 }
130 bool LLVMContext::getDiagnosticHotnessRequested() const {
131 return pImpl->DiagnosticsHotnessRequested;
132 }
133
134127 void LLVMContext::setDiagnosticsHotnessRequested(bool Requested) {
135128 pImpl->DiagnosticsHotnessRequested = Requested;
136129 }