Skip to content

Commit 7837354

Browse files
committed
update diagnostics
1 parent 3f9c35a commit 7837354

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clang/include/clang/Basic/DiagnosticSemaKinds.td

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3275,7 +3275,7 @@ def err_attribute_wrong_number_arguments : Error<
32753275
def err_attribute_wrong_number_arguments_for : Error <
32763276
"%0 attribute references function %1, which %plural{0:takes no arguments|1:takes one argument|"
32773277
":takes exactly %2 arguments}2">;
3278-
def err_callback_attribute_wrong_arg_count
3278+
def err_attribute_wrong_arg_count_for_func
32793279
: Error<"%0 attribute references function of type %1 which expects %2 "
32803280
"%plural{1:argument|:arguments}2 but attribute specifies %3 "
32813281
"parameter index "
@@ -4695,7 +4695,7 @@ def note_protocol_decl : Note<
46954695
"protocol is declared here">;
46964696
def note_protocol_decl_undefined : Note<
46974697
"protocol %0 has no definition">;
4698-
def err_attribute_preferred_name_arg_invalid
4698+
def err_attribute_not_typedef_for_specialization
46994699
: Error<"argument %0 to %1 attribute is not a typedef for "
47004700
"a specialization of %2">;
47014701
def err_attribute_builtin_alias : Error<

0 commit comments

Comments
 (0)