]> granicus.if.org Git - clang/commit
objective-c: warn if implementation of a method in category
authorFariborz Jahanian <fjahanian@apple.com>
Thu, 28 Jul 2011 23:19:50 +0000 (23:19 +0000)
committerFariborz Jahanian <fjahanian@apple.com>
Thu, 28 Jul 2011 23:19:50 +0000 (23:19 +0000)
commitfefe91e6017321aa7db431b94cb3615f6c97da7a
treed90308064fe7ae92a78a8c26ae38fc757564a688
parentb4ae29ced808ae77914754a9e966513aa26b580b
objective-c: warn if implementation of a method in category
masks an existing method in its primary class, class extensions,
and primary class's non-optional protocol methods; as primary
class, or one of its subclass's will implement this method.
This warning has potential of being noisy so it has its own
group.  // rdar://7020493

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@136426 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticGroups.td
include/clang/Basic/DiagnosticSemaKinds.td
include/clang/Sema/Sema.h
lib/Sema/SemaDeclObjC.cpp
test/SemaObjC/arc.m
test/SemaObjC/incomplete-implementation.m
test/SemaObjC/protocol-implementing-class-methods.m [new file with mode: 0644]
test/SemaObjC/related-result-type-inference.m