llvm-project/libcxx/test
Eric Fiselier 555330719a Implement LWG 2488 - Make the placeholders constexpr.
This patch makes the bind placeholders in std::placeholders both (1) const and
(2) constexpr (See below).

This is technically a breaking change for any code using the placeholders
outside of std::bind and depending on them being non-const. However I don't
think this will break any real world code.

(1) Previously the placeholders were non-const extern globals in all
dialects. This patch changes these extern globals to be const in all dialects.
Since the cv-qualifiers don't participate in name mangling for globals this
is an ABI compatible change.

(2) Make the placeholders constexpr in C++11 and beyond. Although LWG 2488 only
applies to C++17 I don't see any reason not to backport this change.

llvm-svn: 273824
2016-06-26 21:01:34 +00:00
..
libcxx Run list debug copy test in C++03. 2016-06-22 08:57:33 +00:00
std Implement LWG 2488 - Make the placeholders constexpr. 2016-06-26 21:01:34 +00:00
support Add [[noreturn]] attribute to throw_bad_alloc_helper(). 2016-06-26 19:42:59 +00:00
CMakeLists.txt Add Filesystem TS -- Complete 2016-06-17 19:46:40 +00:00
lit.cfg [libcxx] Allow use of ShTest in libc++ tests along with other changes. 2015-01-22 18:05:58 +00:00
lit.site.cfg.in Add Filesystem TS -- Complete 2016-06-17 19:46:40 +00:00
nothing_to_do.pass.cpp Test commit: Reverting whitespace changes 2014-07-17 05:10:03 +00:00
testit Add 'nostdinc++' to the flags used by testit. Makes the tests run better on Mac OS X with the new depr.c headers change 2015-11-01 21:14:22 +00:00
ubsan_blacklist.txt Add UBSan blacklist for <__tree> and <__hash_table> 2016-06-19 02:25:22 +00:00