]> granicus.if.org Git - clang/commit
Teach CursorVisitor about duplicate ObjCPropertyDecls that can arise because of a...
authorTed Kremenek <kremenek@apple.com>
Tue, 18 May 2010 21:09:07 +0000 (21:09 +0000)
committerTed Kremenek <kremenek@apple.com>
Tue, 18 May 2010 21:09:07 +0000 (21:09 +0000)
commit23173d7f029f430611caceea72ae61ba6b80af1c
treea5f488b4837ef504fdf4f80c4e867694a2b2cb1c
parentbf1ee342a298d5845c18ef28b2d5b921a1a291d0
Teach CursorVisitor about duplicate ObjCPropertyDecls that can arise because of a current
design limitation in how we handle Objective-C class extensions.  This was causing the CursorVisitor
to essentially visit an @property twice (once in the @interface, the other in the class extension).
Fixes <rdar://problem/7410145>.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@104055 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/Sema.h
lib/Sema/SemaObjCProperty.cpp
test/Index/properties-class-extensions.m [new file with mode: 0644]
tools/libclang/CIndex.cpp