llvm-capstone/libcxx
Eric Fiselier 59cdf90ac8 [libc++] Fix PR35491 - std::array of zero-size doesn't work with non-default constructible types.
Summary:
This patch fixes llvm.org/PR35491 and LWG2157  (https://cplusplus.github.io/LWG/issue2157)

The fix attempts to maintain ABI compatibility by replacing the array with a instance of `aligned_storage`.

Reviewers: mclow.lists, EricWF

Reviewed By: EricWF

Subscribers: lichray, cfe-commits

Differential Revision: https://reviews.llvm.org/D41223

llvm-svn: 324526
2018-02-07 21:06:13 +00:00
..
benchmarks Update Google Benchmark library 2018-01-18 04:23:01 +00:00
cmake [cmake] Always respect existing CMAKE_REQUIRED_FLAGS when adding additional ones. 2018-01-23 03:30:23 +00:00
docs [cmake] Add a config option LIBCXX_HAS_WIN32_THREAD_API for enforcing win32 threads 2018-01-05 20:48:29 +00:00
fuzzing Wrote my own version of is_permutation; that was dominating the timings 2018-01-19 03:17:45 +00:00
include [libc++] Fix PR35491 - std::array of zero-size doesn't work with non-default constructible types. 2018-02-07 21:06:13 +00:00
lib LLVM_FOUND isn't always set, so just test if llvm_setup_rpath() is 2018-01-27 18:55:30 +00:00
src Fix building libc++ with the macOS 10.13 SDK with -mmacosx-version-min=10.12 or lower. 2018-02-06 19:17:41 +00:00
test [libc++] Fix PR35491 - std::array of zero-size doesn't work with non-default constructible types. 2018-02-07 21:06:13 +00:00
utils Update Google Benchmark library 2018-01-18 04:23:01 +00:00
www Comment on 'Review' issues 2018-02-07 19:24:37 +00:00
.arcconfig [libcxx] Set up .arcconfig to point to new Diffusion CXX repository 2017-12-04 17:55:28 +00:00
.clang-format Make clang-format use C++03 syntax 2017-04-15 02:45:43 +00:00
.gitignore
appveyor-reqs-install.cmd Update Appveyor LLVM install link to be current and non-broken 2017-11-15 01:37:11 +00:00
appveyor.yml Rename Appveyor install helper script. 2017-05-10 02:43:02 +00:00
CMakeLists.txt [cmake] [libcxx] Fix find_path() problems when cross compiling. 2018-01-22 19:26:38 +00:00
CREDITS.TXT Try again, this time with the correct address 2017-12-29 19:26:53 +00:00
LICENSE.TXT Update year to 2017 2017-01-03 11:20:43 +00:00
NOTES.TXT Update doc and various cleanup 2016-12-23 20:00:13 +00:00
TODO.TXT Add list of filesystem NB comments to TODO.TXT so they can be tracked separately 2017-03-06 21:23:36 +00:00