objc: clang should warn if redeclaration of methods
declared in protocol in the class qualified by the protocol have type conflicts. To reduce amount of noise, this is done when class is implemented. // rdar://9352731 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@135890 91177308-0d34-0410-b5e6-96231b3b80d8
Showing
- include/clang/Basic/DiagnosticSemaKinds.td 12 additions, 7 deletionsinclude/clang/Basic/DiagnosticSemaKinds.td
- include/clang/Sema/Sema.h 8 additions, 2 deletionsinclude/clang/Sema/Sema.h
- lib/Sema/SemaDeclObjC.cpp 113 additions, 9 deletionslib/Sema/SemaDeclObjC.cpp
- test/Analysis/retain-release-gc-only.m 1 addition, 1 deletiontest/Analysis/retain-release-gc-only.m
- test/SemaObjC/class-protocol-method-match.m 46 additions, 0 deletionstest/SemaObjC/class-protocol-method-match.m
- test/SemaObjC/dist-object-modifiers.m 2 additions, 2 deletionstest/SemaObjC/dist-object-modifiers.m
Loading
Please register or sign in to comment