[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
================
@@ -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'">;
----------------
nickdesaulniers wrote:
Where should the diagnostic strings go if not here?
https://github.com/llvm/llvm-project/pull/73552
More information about the cfe-commits
mailing list