]> granicus.if.org Git - clang/commit
For properties declared in a @protocol and redeclared in a class extension, use the...
authorTed Kremenek <kremenek@apple.com>
Thu, 23 Sep 2010 21:18:05 +0000 (21:18 +0000)
committerTed Kremenek <kremenek@apple.com>
Thu, 23 Sep 2010 21:18:05 +0000 (21:18 +0000)
commit4a2e9ea0c191176ebe996516a9cf4f93b7e932cc
treeb22bccf42b2c3b4b3cf660318c4fbfb4144ae717
parent593b0c1047f1323ebbda78ae38e96f976241c663
For properties declared in a @protocol and redeclared in a class extension, use the class extension
as the lexical DeclContext for the @property declaration that gets auto-created for the @interface.

Fixes: <rdar://problem/8467189>
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@114693 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Sema/Sema.h
lib/Sema/SemaObjCProperty.cpp
test/Index/properties-class-extensions.m