llvm-project/libcxx
Eric Fiselier ac473034fc Provide a constexpr addressof with GCC 7.
__builtin_addressof was added to the GCC trunk in the past week. This patch
teaches libc++ about it so it can correctly provide constexpr addressof.

Unfortunately this patch will break users of earlier GCC 7 builds, since
we expect __builtin_addressof but one won't be provided. One option would be
to only use __builtin_addressof for GCC 7.1 and above, but that means
waiting for another release.

Instead I've specifically chosen to break older GCC 7 versions. Since GCC 7
has yet to be released, and the 7.0 release is a development release, I
believe that anybody currently using GCC 7.0 will have no issue upgrading.

llvm-svn: 283715
2016-10-10 05:34:18 +00:00
..
benchmarks Improve CMake output when registering benchmarks 2016-09-07 00:57:26 +00:00
cmake Fix linker script generation for in-tree builds 2016-10-09 21:34:03 +00:00
docs [libc++] Clarify _LIBCPP_NEW_DELETE_VIS for Windows 2016-09-28 22:28:51 +00:00
include Provide a constexpr addressof with GCC 7. 2016-10-10 05:34:18 +00:00
lib Fix linker script generation for in-tree builds 2016-10-09 21:34:03 +00:00
src Workaround missing C++14 constexpr semantics in filesystem 2016-10-10 05:19:59 +00:00
test Provide a constexpr addressof with GCC 7. 2016-10-10 05:34:18 +00:00
utils Remove debug output from gen_linker_script.py 2016-10-09 21:43:30 +00:00
www Mark issues 2514, 2519, 2536 and 2475 as done 2016-10-06 13:59:18 +00:00
.arcconfig Upgrade arcconfig to use https 2016-07-18 02:02:49 +00:00
.gitignore Add MSVC specifics to .gitignore. Patch from STL@microsoft.com 2016-08-03 05:51:19 +00:00
CMakeLists.txt Fix linker script generation for in-tree builds 2016-10-09 21:34:03 +00:00
CREDITS.TXT Add entry to CREDITS.TXT for propagate_const 2016-06-19 19:36:28 +00:00
LICENSE.TXT Update copyright year to 2016. 2016-03-30 22:39:53 +00:00
TODO.TXT Remove out of date items in TODO.txt 2016-09-27 01:28:47 +00:00