[clang] [Clang] include attribute scope in diagnostics (PR #144619)

Oleksandr T. via cfe-commits cfe-commits at lists.llvm.org
Fri Jun 27 05:52:45 PDT 2025


================
@@ -4694,9 +4695,9 @@ def note_protocol_decl : Note<
   "protocol is declared here">;
 def note_protocol_decl_undefined : Note<
   "protocol %0 has no definition">;
-def err_attribute_preferred_name_arg_invalid : Error<
-  "argument %0 to 'preferred_name' attribute is not a typedef for "
-  "a specialization of %1">;
+def err_attribute_preferred_name_arg_invalid
----------------
a-tarasyuk wrote:

@AaronBallman I've updated both messages

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


More information about the cfe-commits mailing list