diff options
author | Fariborz Jahanian <fjahanian@apple.com> | 2009-08-04 01:07:16 +0000 |
---|---|---|
committer | Fariborz Jahanian <fjahanian@apple.com> | 2009-08-04 01:07:16 +0000 |
commit | dbdec8bcb5686cd34763db49488f77e88c43eb64 (patch) | |
tree | 3a851e2cd1bd7315b04ab517f689c3ebe9a606f0 /lib/Sema/Sema.h | |
parent | 8eec7c00e6e8e7243776d89c3897a48d354aecbf (diff) |
Compare matching selectors in current and
super class(s) and warn on any parameter
type mismatch if potentially unsafe.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@78029 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/Sema.h')
-rw-r--r-- | lib/Sema/Sema.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Sema/Sema.h b/lib/Sema/Sema.h index 2a77f21a2d..6cad4b2f14 100644 --- a/lib/Sema/Sema.h +++ b/lib/Sema/Sema.h @@ -2872,6 +2872,10 @@ public: const IdentifierInfo *Name); void ComparePropertiesInBaseAndSuper(ObjCInterfaceDecl *IDecl); + void CompareMethodParamsInBaseAndSuper(Decl *IDecl, + ObjCMethodDecl *MethodDecl, + bool IsInstance); + void MergeProtocolPropertiesIntoClass(Decl *CDecl, DeclPtrTy MergeProtocols); |