[PATCH] D26377: [libc++] Remove unnecessary MSVCRT exclusions

Shoaib Meenai via cfe-commits cfe-commits at lists.llvm.org
Mon Nov 7 19:41:29 PST 2016


This revision was automatically updated to reflect the committed changes.
Closed by commit rL286202: [libc++] Remove unnecessary MSVCRT exclusions (authored by smeenai).

Changed prior to commit:
  https://reviews.llvm.org/D26377?vs=77119&id=77136#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D26377

Files:
  libcxx/trunk/include/cmath
  libcxx/trunk/include/cstdio
  libcxx/trunk/include/cwchar


Index: libcxx/trunk/include/cwchar
===================================================================
--- libcxx/trunk/include/cwchar
+++ libcxx/trunk/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: libcxx/trunk/include/cmath
===================================================================
--- libcxx/trunk/include/cmath
+++ libcxx/trunk/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;
 
Index: libcxx/trunk/include/cstdio
===================================================================
--- libcxx/trunk/include/cstdio
+++ libcxx/trunk/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;


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D26377.77136.patch
Type: text/x-patch
Size: 2026 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20161108/0a39c91e/attachment.bin>


More information about the cfe-commits mailing list