libcxx fork for Darling build
Go to file
Eric Fiselier 0b6f8ed1c7 Provide std::abs(<floating-point>) in <cmath> on Solaris.
1) <cstdlib> header should define std::abs([int|long|long long])
functions. They use "using ::abs" to import these functions (which are
declared in <stdlib.h>) into std namespace.
2) <cmath> header should define std::abs([float|double|long double])
function. If we try define new functions in std namespace, then it
will cause compile error in <cstdlib> because "using ::abs" will try
import not only [int|long|long long] functions, but also
[float|double|long double] which are defined in <math.h> header on
solaris.

Patch by C Bergstrom.


git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@232641 91177308-0d34-0410-b5e6-96231b3b80d8
2015-03-18 15:24:18 +00:00
cmake [libcxx] Add support for linking libc++ against a static ABI library. 2015-03-03 15:59:51 +00:00
include Provide std::abs(<floating-point>) in <cmath> on Solaris. 2015-03-18 15:24:18 +00:00
lib [libcxx] Add support for linking libc++ against a static ABI library. 2015-03-03 15:59:51 +00:00
src Clean up iostream creation in preparation for conditionalizing streams. 2015-03-17 18:40:58 +00:00
test Fix DYNLD_LIBRARY_PATH to include the ABI path if specified 2015-03-17 19:37:26 +00:00
utils/not [libcxx] Allow use of ShTest in libc++ tests along with other changes. 2015-01-22 18:05:58 +00:00
www [libcxx] Add <experimental/tuple> header for LFTS. 2015-03-17 18:28:14 +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 Add option to disable access to the global filesystem namespace. 2015-03-12 15:44:39 +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