summaryrefslogtreecommitdiffstats
path: root/libcxx/include/cmath
diff options
context:
space:
mode:
authorShoaib Meenai <smeenai@fb.com>2016-11-08 03:31:42 +0000
committerShoaib Meenai <smeenai@fb.com>2016-11-08 03:31:42 +0000
commit76728d88ec5e59bd1498b16c98059113084e7836 (patch)
tree57e7e0de7bb5d5ddeea1d9d2f17d5ac9613e82b7 /libcxx/include/cmath
parentb9bd6fad10218d34dccedce666f5cf6774553321 (diff)
downloadbcm5719-llvm-76728d88ec5e59bd1498b16c98059113084e7836.tar.gz
bcm5719-llvm-76728d88ec5e59bd1498b16c98059113084e7836.zip
[libc++] Remove unnecessary MSVCRT exclusions
Visual Studio 2013 and up have these functions, and we don't need to support older versions. There are some remaining _LIBCPP_MSVCRT exclusions which are present on Visual Studio 2015 but not 2013. Those will be addressed in a follow-up. Differential Revision: https://reviews.llvm.org/D26377 llvm-svn: 286202
Diffstat (limited to 'libcxx/include/cmath')
-rw-r--r--libcxx/include/cmath6
1 files changed, 0 insertions, 6 deletions
diff --git a/libcxx/include/cmath b/libcxx/include/cmath
index 608b9151fc6..725515ea4f3 100644
--- a/libcxx/include/cmath
+++ b/libcxx/include/cmath
@@ -386,7 +386,6 @@ using ::tanf;
using ::tanh;
using ::tanhf;
-#ifndef _LIBCPP_MSVCRT
using ::acosh;
using ::acoshf;
using ::asinh;
@@ -395,7 +394,6 @@ using ::atanh;
using ::atanhf;
using ::cbrt;
using ::cbrtf;
-#endif
using ::copysign;
using ::copysignf;
@@ -439,10 +437,8 @@ using ::lround;
using ::lroundf;
#endif // _LIBCPP_MSVCRT
-#ifndef _LIBCPP_MSVCRT
using ::nan;
using ::nanf;
-#endif // _LIBCPP_MSVCRT
#ifndef _LIBCPP_MSVCRT
using ::nearbyint;
@@ -491,13 +487,11 @@ using ::sinhl;
using ::sqrtl;
using ::tanl;
-#ifndef _LIBCPP_MSVCRT
using ::tanhl;
using ::acoshl;
using ::asinhl;
using ::atanhl;
using ::cbrtl;
-#endif // !_LIBCPP_MSVCRT
using ::copysignl;
OpenPOWER on IntegriCloud