[clang] [llvm] [clang] report inlining decisions with -Wattribute-{warning|error} (PR #73552)

Nick Desaulniers via cfe-commits cfe-commits at lists.llvm.org
Mon Nov 27 11:10:53 PST 2023


================
@@ -794,6 +796,13 @@ void BackendConsumer::DontCallDiagHandler(const DiagnosticInfoDontCall &D) {
                               ? diag::err_fe_backend_error_attr
                               : diag::warn_fe_backend_warning_attr)
       << llvm::demangle(D.getFunctionName()) << D.getNote();
+
+  SmallVector<std::string> InliningDecisions = D.getInliningDecisions();
----------------
nickdesaulniers wrote:

done in e7ed56d009a83f78ffe22eaae8256a766b0c6b4b PTAL

https://github.com/llvm/llvm-project/pull/73552


More information about the cfe-commits mailing list