diff options
author | Akira Hatanaka <ahatanaka@apple.com> | 2016-05-13 01:21:23 +0000 |
---|---|---|
committer | Akira Hatanaka <ahatanaka@apple.com> | 2016-05-13 01:21:23 +0000 |
commit | fdacb5c056087d7f784b1369d262855806b51ac3 (patch) | |
tree | da7353049f5f69186cf63be33a44c7a25e34a73b /lldb/packages/Python/lldbsuite/test/python_api/value/TestValueAPI.py | |
parent | 8e6b917ec8d930c58f00f6bdca876a0bd406a70a (diff) | |
download | bcm5719-llvm-fdacb5c056087d7f784b1369d262855806b51ac3.tar.gz bcm5719-llvm-fdacb5c056087d7f784b1369d262855806b51ac3.zip |
[ObjC][CodeGen] Remove an assert that is no longer correct.
clang asserts when compiling the following code because r231508 made
changes to promote constant temporary arrays and records to globals
with constant initializers:
std::vector<NSString*> strs = {@"a", @"b"};
This commit changes the code to return early if the object returned by
createReferenceTemporary is a global variable with an initializer.
rdar://problem/25504992
rdar://problem/25955179
Differential Revision: http://reviews.llvm.org/D20045
llvm-svn: 269385
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/value/TestValueAPI.py')
0 files changed, 0 insertions, 0 deletions