summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/depr/depr.c.headers/wchar_h.pass.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Silence more unused variable warnings. Patch from STL@microsoft.comEric Fiselier2016-06-141-0/+8
| | | | llvm-svn: 272617
* Cleanup warnings and remove use of __builtin_va_list in depr.c.headersEric Fiselier2016-05-021-16/+5
| | | | llvm-svn: 268294
* Guard Clang and GCC specific pragmas. Patch from STL@microsoft.comEric Fiselier2016-04-281-0/+4
| | | | llvm-svn: 267836
* Fix overload sets of strchr, strpbrk, strrchr, memchr and strstr fromRichard Smith2016-02-101-10/+4
| | | | | | | | | | | | | | | | | <string.h> and wcschr, wcspbrk, wcsrchr, wmemchr, and wcsstr from <wchar.h> to provide a const-correct overload set even when the underlying C library does not. This change adds a new macro, _LIBCPP_PREFERRED_OVERLOAD, which (if defined) specifies that a given overload is a better match than an otherwise equally good function declaration without the overload. This is implemented in modern versions of Clang via __attribute__((enable_if)), and not elsewhere. We use this new macro to define overloads in the global namespace for these functions that displace the overloads provided by the C library, unless we believe the C library is already providing the correct signatures. llvm-svn: 260337
* Silence a -Wmissing-braces warning in the tests; mbstate_t is defined ↵Marshall Clow2015-11-251-0/+8
| | | | | | differently on different C libraries. llvm-svn: 254050
* Get some of wchar_h.pass.cpp working on apple.Eric Fiselier2015-10-101-10/+16
| | | | llvm-svn: 249936
* Unrevert r249889, and XFAIL the test for Darwin, where the libc apparently ↵Richard Smith2015-10-101-11/+24
| | | | | | doesn't provide a correct overload set for some functions. llvm-svn: 249932
* Revert r249889 due to bot failure.Manman Ren2015-10-101-18/+11
| | | | llvm-svn: 249926
* Split <wchar.h> out of <cwchar>.Richard Smith2015-10-091-11/+18
| | | | llvm-svn: 249889
* Change initialization of mbstate_t objects in tests from '= {0}' to '= {}', ↵Marshall Clow2015-09-151-1/+1
| | | | | | which does the same thing, w/o having clang and gcc warn with -Wall. llvm-svn: 247695
* Cleanup warnings in test/std/deprEric Fiselier2015-07-181-0/+4
| | | | llvm-svn: 242627
* Move test into test/std subdirectory.Eric Fiselier2014-12-201-0/+104
llvm-svn: 224658
OpenPOWER on IntegriCloud