[clang] [llvm] [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:02:49 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:

Is this the right file for this?  It seems weird to do codegen in a 'frontend kinds' diagnostics list, though I'm not convinced I know enough to ask this question well enough.

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


More information about the cfe-commits mailing list