diff options
author | Fariborz Jahanian <fjahanian@apple.com> | 2011-12-06 00:02:41 +0000 |
---|---|---|
committer | Fariborz Jahanian <fjahanian@apple.com> | 2011-12-06 00:02:41 +0000 |
commit | ec236787c5868eef53a807ca1a68b6b0b8c604c6 (patch) | |
tree | 8d6cf53ddef1627be5d6072cc55931c0747c6ecd /include | |
parent | e9d11dbfe1f3286c5f8a2f2fc8ac759f63890655 (diff) |
objc: put out more coherent warning when method definition
attributes don't match its declaration. // rdar://10529259.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@145872 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/clang/Basic/DiagnosticSemaKinds.td | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/clang/Basic/DiagnosticSemaKinds.td b/include/clang/Basic/DiagnosticSemaKinds.td index 9a5a664d69..4d7f60b8c9 100644 --- a/include/clang/Basic/DiagnosticSemaKinds.td +++ b/include/clang/Basic/DiagnosticSemaKinds.td @@ -5025,7 +5025,7 @@ def error_protected_ivar_access : Error<"instance variable %0 is protected">, AccessControl; def warn_maynot_respond : Warning<"%0 may not respond to %1">; def warn_attribute_method_def : Warning< - "method attribute can only be specified on method declarations">, + "attributes on method implementation and its declaration must match">, InGroup<DiagGroup<"mismatched-method-attributes">>; def ext_typecheck_base_super : Warning< "method parameter type %0 does not match " |