]> granicus.if.org Git - clang/commit
objective-c: fix a sema and IRGen crash when property
authorFariborz Jahanian <fjahanian@apple.com>
Tue, 29 May 2012 19:56:01 +0000 (19:56 +0000)
committerFariborz Jahanian <fjahanian@apple.com>
Tue, 29 May 2012 19:56:01 +0000 (19:56 +0000)
commit490a52b4947381879a47b4251db5fb81cdf5d02b
tree9e0f87deed466ae490df3bcf0c7b0016b5f87593
parent6ea73b243b72b2793b6304e3e4dc71619e017263
objective-c: fix a sema and IRGen crash when property
getter result type is safe but does not match with property
type resulting in spurious warning followed by crash in
IRGen. // rdar://11515196

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@157641 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGObjC.cpp
lib/CodeGen/CodeGenFunction.h
lib/Sema/SemaObjCProperty.cpp
test/CodeGenObjC/getter-property-type-mismatch.m [new file with mode: 0644]
test/SemaObjC/property-typecheck-1.m