[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)
commit7741101dce76de2a0d335beee596890ed0a6b507
tree66eab5b5f05d8342564ad4d33143563b5706c86b
parent5b5cf503b53ff103c9c0ecb735479366d79a47bf
[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

llvm-svn: 201428
clang/lib/CodeGen/CodeGenFunction.h
clang/test/CodeGenObjC/property-array-type.m [new file with mode: 0644]