commit | dffc922b383d3f6f598497a8f687ed1daf152dba | [log] [tgz] |
---|---|---|
author | David Blaikie <dblaikie@gmail.com> | Thu Aug 25 22:09:13 2016 +0000 |
committer | David Blaikie <dblaikie@gmail.com> | Thu Aug 25 22:09:13 2016 +0000 |
tree | fa2e0d6d9d3e9818c80c180538b9c891c59adcc0 | |
parent | 0eddaa0d423e2b97cfaaf97c60be9e1ede17a6e8 [diff] |
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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@279783 91177308-0d34-0410-b5e6-96231b3b80d8