forked from OSchip/llvm-project
[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
This commit is contained in:
parent
b9bd6fad10
commit
76728d88ec
|
@ -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;
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue