llvm-project/libcxx
Eric Fiselier c6b3c7bb63 Fix initialization of array<const T, 0> with GCC.
Previously, when handling zero-sized array of const objects we
used a const version of aligned_storage_t, which is not an array type.
However, GCC complains about initialization of the form: array<const T, 0> arr = {};

This patch fixes that bug by making the dummy object used to represent
the zero-sized array an array itself. This avoids GCC's complaints
about the uninitialized const member.

llvm-svn: 324194
2018-02-04 08:02:35 +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 Fix initialization of array<const T, 0> with GCC. 2018-02-04 08:02:35 +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 Address LWG 2849 and fix missing failure condition in copy_file. 2018-02-04 02:43:32 +00:00
test Implement LWG 3014 - Fix more noexcept issues in filesystem. 2018-02-04 07:35:36 +00:00
utils Update Google Benchmark library 2018-01-18 04:23:01 +00:00
www Mark LWG 3014 as complete. No code changes needed 2018-02-04 07:37:09 +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 Implement N4606 optional 2016-10-12 07:46:20 +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
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