]> granicus.if.org Git - clang/commit
objective-c: diagnose protocol inconsistencies in following
authorFariborz Jahanian <fjahanian@apple.com>
Mon, 8 Aug 2011 18:03:17 +0000 (18:03 +0000)
committerFariborz Jahanian <fjahanian@apple.com>
Mon, 8 Aug 2011 18:03:17 +0000 (18:03 +0000)
commit2112190efa85f50af84a3c4efe03c5bf69247ba2
tree7bbe32f806be3093495453ef919f722f6607b826
parentadc7a739301d123914b7124e749b7ec74fa91397
objective-c: diagnose protocol inconsistencies in following
situation. When a class explicitly or implicitly (through inheritance)
"conformsTo" two protocols which conflict (have methods which conflict).
This patch fixes the previous patch where warnings were coming out in
non-deterministic order.  This is 2nd part of // rdar://6191214.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@137055 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/IdentifierTable.h
include/clang/Sema/Sema.h
lib/Sema/SemaDeclObjC.cpp
test/SemaObjC/class-protocol-method-match.m
test/SemaObjC/qualified-protocol-method-conflicts.m [new file with mode: 0644]