[PATCH] D26377: [libc++] Remove unnecessary MSVCRT exclusions
Shoaib Meenai via cfe-commits
cfe-commits at lists.llvm.org
Mon Nov 7 16:52:32 PST 2016
smeenai updated this revision to Diff 77119.
smeenai updated the summary for this revision.
smeenai added a comment.
Fixing some more exclusions
https://reviews.llvm.org/D26377
Files:
include/cmath
include/cstdio
include/cwchar
Index: include/cwchar
===================================================================
--- include/cwchar
+++ include/cwchar
@@ -123,11 +123,9 @@
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 ::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 @@
#ifndef _LIBCPP_HAS_NO_STDIN
using ::getwchar;
-#ifndef _LIBCPP_MSVCRT
using ::vwscanf;
-#endif // _LIBCPP_MSVCRT
using ::wscanf;
#endif
Index: include/cstdio
===================================================================
--- include/cstdio
+++ include/cstdio
@@ -121,11 +121,9 @@
using ::snprintf;
using ::sprintf;
using ::sscanf;
-#ifndef _LIBCPP_MSVCRT
using ::vfprintf;
using ::vfscanf;
using ::vsscanf;
-#endif // _LIBCPP_MSVCRT
using ::vsnprintf;
using ::vsprintf;
using ::fgetc;
Index: include/cmath
===================================================================
--- include/cmath
+++ include/cmath
@@ -386,16 +386,14 @@
using ::tanh;
using ::tanhf;
-#ifndef _LIBCPP_MSVCRT
using ::acosh;
using ::acoshf;
using ::asinh;
using ::asinhf;
using ::atanh;
using ::atanhf;
using ::cbrt;
using ::cbrtf;
-#endif
using ::copysign;
using ::copysignf;
@@ -439,10 +437,8 @@
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 ::sqrtl;
using ::tanl;
-#ifndef _LIBCPP_MSVCRT
using ::tanhl;
using ::acoshl;
using ::asinhl;
using ::atanhl;
using ::cbrtl;
-#endif // !_LIBCPP_MSVCRT
using ::copysignl;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D26377.77119.patch
Type: text/x-patch
Size: 1909 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20161108/da767a4e/attachment.bin>
More information about the cfe-commits
mailing list