]> granicus.if.org Git - clang/commit
[IRGen]. Fixes a crash in using Objective-C array
authorFariborz Jahanian <fjahanian@apple.com>
Fri, 14 Feb 2014 19:37:25 +0000 (19:37 +0000)
committerFariborz Jahanian <fjahanian@apple.com>
Fri, 14 Feb 2014 19:37:25 +0000 (19:37 +0000)
commit45ac397b4181223667a2b9147706f3c727db7874
tree3910212240955bf99878c32373fa93bc6e98a2e9
parentcafca2019fcd2fca5dccef78e2a436e8b1d92da7
[IRGen]. Fixes a crash in using Objective-C array
properties by fixing shouldBindAsLValue to accept arrays
(like record types) because we always manipulate
them in memory. Patch suggested by John MaCall.
// rdar://15610943

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@201428 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CodeGenFunction.h
test/CodeGenObjC/property-array-type.m [new file with mode: 0644]