summaryrefslogtreecommitdiffstats
path: root/libcxx
Commit message (Collapse)AuthorAgeFilesLines
* Fix non-portable tests for temp_directory_path(...)Eric Fiselier2016-10-241-8/+11
| | | | llvm-svn: 285020
* Add missing include in string_view tests. Patch from Billy ONeil @ microsoftEric Fiselier2016-10-241-0/+1
| | | | llvm-svn: 285012
* Fix shadow warnings in string_view tests. Patch from STL@microsoft.comEric Fiselier2016-10-242-22/+20
| | | | llvm-svn: 285011
* Backout enabling -Wshadow until I have time to fix the breakageEric Fiselier2016-10-231-1/+2
| | | | llvm-svn: 284952
* [libcxx] Use C++14 when building libc++ with muslPetr Hosek2016-10-231-0/+5
| | | | | | | | | musl's pthread implementations use volatile types in their structs which is not being constexpr in C++11 but is in C++14. Differential Revision: https://reviews.llvm.org/D25491 llvm-svn: 284950
* Fix breakage introduced by adding -Wshadow.Eric Fiselier2016-10-231-27/+27
| | | | llvm-svn: 284946
* Fix libc++ specific assertion in permissions(...) testsEric Fiselier2016-10-231-1/+2
| | | | llvm-svn: 284945
* Turn on -Wshadow so I find occurances before STL doesEric Fiselier2016-10-231-0/+1
| | | | llvm-svn: 284944
* Make make_from_tuple tests more portable. Patch from STL@microsoft.comEric Fiselier2016-10-231-4/+4
| | | | llvm-svn: 284943
* Fix unreferenced parameters. Patch from STL@microsoft.comEric Fiselier2016-10-234-9/+9
| | | | llvm-svn: 284942
* Fix shadowing warning. Patch from STL@microsoft.comEric Fiselier2016-10-231-1/+1
| | | | llvm-svn: 284941
* [libcxx] Support std::regex_constants::match_not_nullTim Shen2016-10-212-0/+64
| | | | | | | | | | | | Summary: Fixes PR21597. Reviewers: mclow.lists, EricWF Subscribers: cfe-commits Differential Revision: https://reviews.llvm.org/D25595 llvm-svn: 284881
* [ModuleMap] Add more module entries to cover some non modular headersBruno Cardoso Lopes2016-10-211-0/+342
| | | | | | | | | | These modules are necessary on Darwin to allow modules with 'no_undeclared_includes' (introduced in clang r284797) to work properly while using libc++ headers. Patch extracted from a suggested module.modulemap from Richard Smith! llvm-svn: 284801
* Adding a missing constexpr test for reverse_iterator operator[].Marshall Clow2016-10-201-0/+11
| | | | llvm-svn: 284731
* Attempt to workaround XPASS for aligned allocation testsEric Fiselier2016-10-204-4/+8
| | | | llvm-svn: 284691
* Implement constexpr support for reverse_iterator. Reviewed as ↵Marshall Clow2016-10-1925-83/+441
| | | | | | https://reviews.llvm.org/D25534 llvm-svn: 284602
* [cmake] Allow testing against installed LLVM with no sourcesMichal Gorny2016-10-191-11/+6
| | | | | | | | | | | | Adjust the stand-alone build files to accept either CMake files from LLVM_CMAKE_PATH or from LLVM_MAIN_SRC_DIR instead of requiring both. This makes it possible to run libcxx tests on top of installed LLVM and lit, without having to unpack a copy of LLVM sources. Furthermore, it avoids adding duplicate paths. Differential Revision: https://reviews.llvm.org/D25093 llvm-svn: 284583
* [solaris] Convert the support library to C++ to fix -std=c++11 buildMichal Gorny2016-10-182-1/+4
| | | | | | | | | | | Convert the Solaris xlocale.c compatibility library from plain C to C++ in order to fix the build failures caused by the addition of -std=c++11 to LIBCXX_COMPILE_FLAGS. The additional flag got propagated to the C file, resulting in error with strict compilers. Differential Revision: https://reviews.llvm.org/D25431 llvm-svn: 284494
* [solaris] Fix iswxdigit_l() support function prototypeMichal Gorny2016-10-181-1/+1
| | | | | | | | | Fix the iswxdigit_l() function prototype to take wint_t parameter instead of incorrect wchar_t. Differential Revision: https://reviews.llvm.org/D25431 llvm-svn: 284493
* Make any_cast<void()>(nullptr) compileEric Fiselier2016-10-162-4/+29
| | | | llvm-svn: 284333
* Update LWG 2754 statusEric Fiselier2016-10-161-2/+2
| | | | llvm-svn: 284326
* Fix use of non-constexpr C++14 addressofEric Fiselier2016-10-161-1/+1
| | | | llvm-svn: 284325
* Update LWG 2767 and add test caseEric Fiselier2016-10-162-2/+16
| | | | llvm-svn: 284324
* Update status for std::optional LWG issues and fix an optional SFINAE bugEric Fiselier2016-10-165-14/+35
| | | | llvm-svn: 284323
* Update issue status for LWG 2744Eric Fiselier2016-10-1610-60/+93
| | | | llvm-svn: 284322
* Update issue status for LWG 2768 and 2769Eric Fiselier2016-10-166-49/+84
| | | | llvm-svn: 284321
* Update notes for LWG 2678Eric Fiselier2016-10-161-1/+1
| | | | llvm-svn: 284319
* Implement LWG 2712 and update other issues statusEric Fiselier2016-10-163-8/+38
| | | | llvm-svn: 284318
* Implement LWG 2681 and 2682Eric Fiselier2016-10-163-4/+48
| | | | llvm-svn: 284316
* Mark LWG 2680 as doneEric Fiselier2016-10-151-2/+2
| | | | llvm-svn: 284315
* Implement LWG 2672.Eric Fiselier2016-10-153-7/+48
| | | | llvm-svn: 284314
* Implement modified LWG 2665Eric Fiselier2016-10-154-4/+31
| | | | llvm-svn: 284313
* Implement LWG2664 and update its statusEric Fiselier2016-10-153-2/+74
| | | | llvm-svn: 284310
* Update the status of issuesEric Fiselier2016-10-151-2/+2
| | | | llvm-svn: 284309
* Prevent new/delete replacement tests from being optimized away.Eric Fiselier2016-10-147-37/+31
| | | | llvm-svn: 284289
* Clarify XFAIL commentsEric Fiselier2016-10-142-2/+4
| | | | llvm-svn: 284282
* [libcxx] Improve the gcc workaround for the missing __has_include macro.Asiri Rathnayake2016-10-141-13/+11
| | | | | | NFC. llvm-svn: 284237
* [libcxx] Do not declare the thread api when __external_threading is presentAsiri Rathnayake2016-10-141-4/+5
| | | | | | | | | | | | | | | | This fixes a small omission where even when __external_threading is provided, we attempt to declare a pthread based threading API. Instead, we should leave out everything for the __external_threading header to take care of. The __threading_support header provides a proof-of-concept externally threaded libc++ variant when _LIBCPP_HAS_THREAD_API_EXTERNAL is defined. But if the __external_threading header is present, we should exclude all of that POC stuff. Reviewers: EricWF Differential revision: https://reviews.llvm.org/D25468 llvm-svn: 284232
* Disable Modules when building the libc++ sources.Eric Fiselier2016-10-141-0/+10
| | | | | | | | | | | | | | | | | Libc++ will not build with modules enabled. In order to support an in-tree libc++ when LLVM_ENABLE_MODULES is ON we need to explicitly disable the feature. Unfortunately the libc++ sources are fundamentally non-modular. For example iostream.cpp defines cout, cerr, wout, ... as char buffers instead of streams in order to better control initialization/destruction. Not shockingly Clang diagnoses this. Many other sources files define _LIBCPP_BUILDING_FOO macros to provide definitions for normally inline symbols (See bind.cpp). Finally The current module.map prohibits using <strstream> in C++11 so we can't build strstream.cpp. I think I can fix most of these issues but until then just disable modules. llvm-svn: 284230
* Work around Clang driver segfault when --coverage is used with -c and /dev/nullEric Fiselier2016-10-141-1/+1
| | | | llvm-svn: 284225
* Remove dead CMake targetEric Fiselier2016-10-142-6/+0
| | | | llvm-svn: 284216
* XFAIL aligned allocation tests for older Clang versionsEric Fiselier2016-10-149-18/+32
| | | | llvm-svn: 284214
* XFAIL aligned allocation test failures with UBSANEric Fiselier2016-10-144-9/+10
| | | | llvm-svn: 284210
* Add void_t and invoke feature test macrosEric Fiselier2016-10-144-0/+79
| | | | llvm-svn: 284209
* Update OS X ABI listEric Fiselier2016-10-141-0/+11
| | | | llvm-svn: 284208
* Correct ABI changelog revision numberEric Fiselier2016-10-141-1/+1
| | | | llvm-svn: 284207
* Implement P0035R4 -- Add C++17 aligned allocation functionsEric Fiselier2016-10-1417-22/+1135
| | | | | | | | | | | | | | | | Summary: This patch implements the library side of P0035R4. The implementation is thanks to @rsmith. In addition to the C++17 implementation, the library implementation can be explicitly turned on using `-faligned-allocation` in all dialects. Reviewers: mclow.lists, rsmith Subscribers: rsmith, cfe-commits Differential Revision: https://reviews.llvm.org/D25591 llvm-svn: 284206
* Cleanup LIT testing docEric Fiselier2016-10-141-12/+14
| | | | llvm-svn: 284205
* Remove two ABI symbols added after the 3.9 releaseEric Fiselier2016-10-142-2/+1
| | | | llvm-svn: 284200
* Add ABI changelog entry for <any>Eric Fiselier2016-10-141-0/+10
| | | | llvm-svn: 284199
OpenPOWER on IntegriCloud