summaryrefslogtreecommitdiffstats
path: root/libcxx
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
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')
-rw-r--r--libcxx/include/cmath6
-rw-r--r--libcxx/include/cstdio2
-rw-r--r--libcxx/include/cwchar6
3 files changed, 0 insertions, 14 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;
diff --git a/libcxx/include/cstdio b/libcxx/include/cstdio
index 801348837c4..35941ce3515 100644
--- a/libcxx/include/cstdio
+++ b/libcxx/include/cstdio
@@ -121,11 +121,9 @@ using ::fscanf;
using ::snprintf;
using ::sprintf;
using ::sscanf;
-#ifndef _LIBCPP_MSVCRT
using ::vfprintf;
using ::vfscanf;
using ::vsscanf;
-#endif // _LIBCPP_MSVCRT
using ::vsnprintf;
using ::vsprintf;
using ::fgetc;
diff --git a/libcxx/include/cwchar b/libcxx/include/cwchar
index 52dde9e1802..d268e8bbd39 100644
--- a/libcxx/include/cwchar
+++ b/libcxx/include/cwchar
@@ -123,11 +123,9 @@ using ::fwscanf;
using ::swprintf;
using ::vfwprintf;
using ::vswprintf;
-#ifndef _LIBCPP_MSVCRT
using ::swscanf;
using ::vfwscanf;
using ::vswscanf;
-#endif // _LIBCPP_MSVCRT
using ::fgetwc;
using ::fgetws;
using ::fputwc;
@@ -137,10 +135,8 @@ using ::getwc;
using ::putwc;
using ::ungetwc;
using ::wcstod;
-#ifndef _LIBCPP_MSVCRT
using ::wcstof;
using ::wcstold;
-#endif // _LIBCPP_MSVCRT
using ::wcstol;
#ifndef _LIBCPP_HAS_NO_LONG_LONG
using ::wcstoll;
@@ -182,9 +178,7 @@ using ::wcsrtombs;
#ifndef _LIBCPP_HAS_NO_STDIN
using ::getwchar;
-#ifndef _LIBCPP_MSVCRT
using ::vwscanf;
-#endif // _LIBCPP_MSVCRT
using ::wscanf;
#endif
OpenPOWER on IntegriCloud