]> granicus.if.org Git - clang/commit
Objective-C. Tweak diagnosing properties that are not auto-synthesized.
authorFariborz Jahanian <fjahanian@apple.com>
Fri, 29 Aug 2014 18:31:16 +0000 (18:31 +0000)
committerFariborz Jahanian <fjahanian@apple.com>
Fri, 29 Aug 2014 18:31:16 +0000 (18:31 +0000)
commitb1585c8a9976de3b63b578ebcd17f4ee7bd4a420
treea1f76a78d592c1757328aa16b08bbd59256fadb4
parentf990758c7bf88340ef832db834510f5388506171
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
include/clang/Basic/DiagnosticSemaKinds.td
lib/Sema/SemaObjCProperty.cpp
test/Analysis/objc_invalidation.m
test/SemaObjC/attr-deprecated.m
test/SemaObjC/default-synthesize-1.m
test/SemaObjC/default-synthesize.m
test/SemaObjC/protocols-suppress-conformance.m
test/SemaObjC/super-property-notation.m