diff options
author | David Blaikie <dblaikie@gmail.com> | 2016-08-25 22:09:13 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2016-08-25 22:09:13 +0000 |
commit | 68ce7928dc9160e8672e8b8f10ab620faea54d38 (patch) | |
tree | da2508fa197345c244f580ca9571f018c18e937f /lldb/packages/Python/lldbsuite/test/lang/cpp/namespace/TestNamespace.py | |
parent | a6ccc8d365fadcac1e5ecfe6c3ac78c3aa7f9b61 (diff) | |
download | bcm5719-llvm-68ce7928dc9160e8672e8b8f10ab620faea54d38.tar.gz bcm5719-llvm-68ce7928dc9160e8672e8b8f10ab620faea54d38.zip |
Fix ArrayRef initializer_list Ctor Test
The InitializerList test had undefined behavior by creating a dangling pointer to the temporary initializer list. This patch removes the undefined behavior in the test by creating the initializer list directly.
Reviewers: mehdi_amini, dblaikie
Differential Revision: https://reviews.llvm.org/D23890
llvm-svn: 279783
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/lang/cpp/namespace/TestNamespace.py')
0 files changed, 0 insertions, 0 deletions