Objective-C. Tweak diagnosing properties that are not auto-synthesized.
Do not warn when property declared in class's protocol will be auto-synthesized by its uper class implementation because super class has also declared this property while this class has not. Continue to warn if current class has declared the property also (because this declaration will not result in a 2nd synthesis). rdar://18152478 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@216753 91177308-0d34-0410-b5e6-96231b3b80d8
Showing
- include/clang/Basic/DiagnosticSemaKinds.td 2 additions, 1 deletioninclude/clang/Basic/DiagnosticSemaKinds.td
- lib/Sema/SemaObjCProperty.cpp 19 additions, 20 deletionslib/Sema/SemaObjCProperty.cpp
- test/Analysis/objc_invalidation.m 2 additions, 2 deletionstest/Analysis/objc_invalidation.m
- test/SemaObjC/attr-deprecated.m 1 addition, 1 deletiontest/SemaObjC/attr-deprecated.m
- test/SemaObjC/default-synthesize-1.m 1 addition, 1 deletiontest/SemaObjC/default-synthesize-1.m
- test/SemaObjC/default-synthesize.m 24 additions, 2 deletionstest/SemaObjC/default-synthesize.m
- test/SemaObjC/protocols-suppress-conformance.m 4 additions, 6 deletionstest/SemaObjC/protocols-suppress-conformance.m
- test/SemaObjC/super-property-notation.m 1 addition, 1 deletiontest/SemaObjC/super-property-notation.m
Loading
Please register or sign in to comment