libcxx fork for Darling build
Go to file
Eric Fiselier db8c4fd8c7 Merge C++03 and C++11 implementations of mem_fn and __mem_fn.
The implementation of mem_fn doesn't actually require any  C++11 support.
For some reason there were 17 overloads for mem_fn in C++03 when only one
is needed. This patch removes the extra overloads and uses the same implementation
of mem_fn in C++03 and C++11.

__mem_fn does require variadics to implement the call operator. Instead of
having two entirely different implementations of the __mem_fn struct, this patch
uses the same __mem_fn struct but provides different call operators when
variadics are not available.

The only thing left in <__functional_03> is the C++03 implementation of
std::function.


git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@242959 91177308-0d34-0410-b5e6-96231b3b80d8
2015-07-22 22:43:27 +00:00
cmake Fix building and testing libc++ with GCC. 2015-05-20 03:15:01 +00:00
include Merge C++03 and C++11 implementations of mem_fn and __mem_fn. 2015-07-22 22:43:27 +00:00
lib [libcxx] Add support for sanitizers on OS X. 2015-07-22 00:33:36 +00:00
src [libcxx] Add atomic_support.h header to src that handles needed atomic operations. 2015-07-07 00:27:16 +00:00
test Cleanup <__functional_03> 2015-07-22 04:14:38 +00:00
utils cleanup comments in sym_check 2015-03-27 06:04:37 +00:00
www Update the status of the TS'es 2015-07-21 14:29:31 +00:00
.arcconfig Update Arcanist config to point to reviews.llvm.org 2014-06-10 18:29:36 +00:00
.gitignore [libc++] Refactor test components into modules. 2015-01-09 18:03:29 +00:00
CMakeLists.txt Enable and fix warnings during the build. 2015-07-18 20:40:46 +00:00
CREDITS.TXT Add self to CREDITS.txt 2015-02-26 00:48:22 +00:00
LICENSE.TXT Update copyright year to 2015. 2015-03-12 20:13:11 +00:00
Makefile Revert "Fix installheaders target's permissions" 2014-12-16 05:28:07 +00:00
TODO.TXT Cleanup result_of tests and fix issues with the C++03 result_of. 2015-06-13 08:25:24 +00:00