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

Erich Keane via cfe-commits cfe-commits at lists.llvm.org
Mon Nov 27 11:11:50 PST 2023


================
@@ -93,6 +93,8 @@ def err_fe_backend_error_attr :
 def warn_fe_backend_warning_attr :
   Warning<"call to '%0' declared with 'warning' attribute: %1">, BackendInfo,
   InGroup<BackendWarningAttributes>;
+def note_fe_backend_in : Note<"called by function '%0'">;
----------------
erichkeane wrote:

IDK, that is why I asked.  It SOUNDS wrong, so I'm hopeful someone else can come along and tell us.

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


More information about the cfe-commits mailing list