]> granicus.if.org Git - clang/commit
Correctly determine if the @property has been previously declared. If
authorTed Kremenek <kremenek@apple.com>
Mon, 15 Mar 2010 18:47:25 +0000 (18:47 +0000)
committerTed Kremenek <kremenek@apple.com>
Mon, 15 Mar 2010 18:47:25 +0000 (18:47 +0000)
commit894ae6ad081465a3b168db7e60ab3f94e3730b57
treebabde3351388926ab9061fffe3f6cab43d8af430
parentee9ca6966d63419e4da1ea54151864a4ed8daeed
Correctly determine if the @property has been previously declared.  If
a property has the same name as the ivar it wraps then the old logic
wouldn't find the previous property declaration.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@98559 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaObjCProperty.cpp
test/SemaObjC/duplicate-property.m [new file with mode: 0644]