summaryrefslogtreecommitdiffstats
path: root/libcxx
Commit message (Collapse)AuthorAgeFilesLines
...
* [test] Name the local variable in the C1XX implementation of DoNotOptmizeCasey Carter2017-05-041-1/+2
| | | | | | Differential Revision: https://reviews.llvm.org/D32510 llvm-svn: 302162
* [test] variant: enable constexpr construction tests on MSVC STLCasey Carter2017-05-045-4/+58
| | | | | | | * Add a new macro _MSVC_STL_VER to detect when the MSVC STL is being tested * Workaround C1XX __is_trivially_copyable bug llvm-svn: 302158
* Fix incorrect usage of __libcpp_mutex_trylock. Patch from Andrey KhalyavinEric Fiselier2017-05-041-1/+1
| | | | llvm-svn: 302129
* Update Appveyor bot link to point to new llvm-mirror Appveyor accountEric Fiselier2017-05-041-1/+1
| | | | llvm-svn: 302128
* test commitEric Fiselier2017-05-041-0/+1
| | | | llvm-svn: 302122
* test commitEric Fiselier2017-05-041-1/+0
| | | | llvm-svn: 302120
* [libcxx][CMake] Set library dir when built under runtimes/Jonas Hahnfeld2017-05-041-1/+5
| | | | | | | | This will put libraries into the build root's lib/ directory by default. Differential Revision: https://reviews.llvm.org/D32736 llvm-svn: 302117
* update buildbot doc to link to the new Appveyor buildersEric Fiselier2017-05-041-1/+1
| | | | llvm-svn: 302116
* Attempt to enable the LIT progress bar on AppveyorEric Fiselier2017-05-041-1/+1
| | | | llvm-svn: 302115
* Setup Appveyor bot for MSVC 2017 and MSVC 2015Eric Fiselier2017-05-042-41/+69
| | | | llvm-svn: 302113
* [libcxx] [test] Strip trailing whitespace. NFC.Stephan T. Lavavej2017-05-0425-35/+35
| | | | llvm-svn: 302105
* [libcxx] [test] In msvc_stdlib_force_include.hpp, use _HAS_CXX17 to set ↵Stephan T. Lavavej2017-05-041-2/+8
| | | | | | | | | | | | | | | | | | | | | | | TEST_STD_VER. _HAS_CXX17 indicates whether MSVC's STL is in C++17 mode. In MSVC there's a distinction between CRT headers like stdlib.h and STL headers like cstdlib. Only the STL headers drag in yvals.h, our internal STL-wide header that defines internal macros like _HAS_CXX17. _HAS_CXX17 is an MSVC STL library macro, unconditionally defined. We centralize everything on this, because we have to ask different questions to determine whether C1XX, EDG, or Clang is in 14 or 17 mode, and we additionally permit users to override the detection in one way (it's okay to ask for 17 from the compiler, but only 14 from the libs, at least for the moment; only noexcept in the type system will give us a headache). As this header is for testing MSVC's STL, we can assume _HAS_CXX17 is defined. Fixes D32726. llvm-svn: 302104
* Attempt to escape paths correctlyEric Fiselier2017-05-041-2/+2
| | | | llvm-svn: 302102
* Attempt to setup MSVC 2017Eric Fiselier2017-05-041-5/+7
| | | | llvm-svn: 302101
* Use nullptr instead of the literal 0Eric Fiselier2017-05-042-3/+3
| | | | llvm-svn: 302100
* Fix macro redefinition warnings for _LIBCPP_NO_RTTIEric Fiselier2017-05-041-1/+1
| | | | llvm-svn: 302099
* Test commit for Appveyor - Remove incorrect caching logicEric Fiselier2017-05-041-5/+1
| | | | llvm-svn: 302097
* CMake: Only add test/ subdirectory when it existsDuncan P. N. Exon Smith2017-05-031-1/+6
| | | | | | | | | | | | | r296685 started adding the test/ subdirectory even when LIBCXX_INCLUDE_TESTS=OFF. This is great for testing libcxx standalone, but it also breaks the build when the test/ subdirectory is removed (and our submission system strips all test/ directories). This patch updates the logic to check for test/ before adding it. rdar://problem/31931366 llvm-svn: 302095
* Attempt to fix appveyor buildEric Fiselier2017-05-031-4/+0
| | | | llvm-svn: 302084
* Qualify calls to __invoke, __apply_fuctor, and __muEric Fiselier2017-05-031-3/+3
| | | | llvm-svn: 302082
* Add missing acquire_load to call_once overload.Justin Lebar2017-04-231-1/+1
| | | | | | | | | | | | Summary: Seemed to have been overlooked in D24028. This bug was found and brought to my attention by Paul Wankadia. Reviewers: kubamracek, EricWF, dvyukov Differential Revision: https://reviews.llvm.org/D32402 llvm-svn: 301132
* cmath: Skip Libc for integral types in isinf, etc.Duncan P. N. Exon Smith2017-04-212-8/+114
| | | | | | | | | | | | | | | | | | | | | | | | For std::isinf, the standard requires effectively calling isinf as double from Libc for integral types. But integral types are never infinite; we don't need to call Libc to return false. Also short-circuit other functions where Libc won't have interesting answers: signbit, fpclassify, isfinite, isnan, and isnormal. I added correctness tests for integral types since we're no longer deferring to Libc. In review it was pointed out that in future revisions of the C++ standard we may add more types to std::is_arithmetic (e.g., std::is_fixed_point). I'll leave it to a future commit to hack this to allow using math functions on those. We'll need to change things like __libcpp_fpclassify anyway, so I'm not sure anything here would really be future-proof. https://reviews.llvm.org/D31561 rdar://problem/31361223 llvm-svn: 301060
* Expand test coverage for LWG2857Casey Carter2017-04-213-17/+31
| | | | | | | | | | * Cover optional's emplace-from-initializer_list overload * Verify that any::emplace and optional::emplace return a reference to the correct type even for throwing cases. Differential Revision: https://reviews.llvm.org/D32106 llvm-svn: 301055
* update XFAIL comments with more detailsEric Fiselier2017-04-212-5/+3
| | | | llvm-svn: 300944
* Mark exception_ptr tests as XFAIL on Windows for nowEric Fiselier2017-04-2110-1/+31
| | | | llvm-svn: 300942
* XFAIL Windows test failures under test/libcxxEric Fiselier2017-04-2114-3/+53
| | | | | | | | This patch XFAIL's a number of tests under test/libcxx when on Windows. These failures need more investigation or patches to either Clang or libc++ but for now we don't want them to prevent the bot from going green. llvm-svn: 300941
* Resolve unused local typedef warning in test.Billy Robert O'Neal III2017-04-211-1/+0
| | | | llvm-svn: 300937
* Fix 'verify-support' available featureEric Fiselier2017-04-211-2/+2
| | | | llvm-svn: 300934
* [libc++] Default to vcruntime when targeting MSVCShoaib Meenai2017-04-201-11/+9
| | | | | | | | | | | | Summary: libc++abi is never the right option for LIBCXX_TARGETING_MSVC, since it targets the Itanium ABI, whereas MSVC uses the Microsoft ABI. Make the default ABI be vcruntime when targeting MSVC even if libc++abi is present in the tree. Differential Revision: https://reviews.llvm.org/D32320 llvm-svn: 300921
* Fix ATOMIC_<TYPE>_LOCK_FREE macros on Windows.Eric Fiselier2017-04-201-10/+23
| | | | | | | | | | | | Previously the ATOMIC_<TYPE>_LOCK_FREE macros were implemented using __GCC_ATOMIC_<TYPE>_LOCK_FREE but GCC specific macros are defined when -fms-compatibility is specified. To avoid this Libc++ now tries to use the newly added __CLANG_ATOMIC_<TYPE>_LOCK_FREE macros instead, and only falls back to the GCC versions when the Clang ones aren't available. llvm-svn: 300920
* Fix comment and remove incorrect linker flags in test configurationEric Fiselier2017-04-201-3/+5
| | | | llvm-svn: 300881
* Disable the filesystem library on Windows by defaultEric Fiselier2017-04-201-2/+6
| | | | llvm-svn: 300820
* Rename the static version of libc++ on Windows.Eric Fiselier2017-04-202-2/+11
| | | | | | | | | | | Previously both the static version of libc++ and the import library for the DLL had the same name, 'c++.lib'. This patch renames the static library on Windows to be `libc++.lib` so it no longer conflicts. This naming convention is consistent with other windows libraries. llvm-svn: 300817
* Make linker errors verbose on WindowsEric Fiselier2017-04-201-0/+2
| | | | llvm-svn: 300809
* Fix dllimport on a class templateEric Fiselier2017-04-201-1/+1
| | | | llvm-svn: 300808
* change what branches Appveyor buildsEric Fiselier2017-04-191-1/+1
| | | | llvm-svn: 300788
* Add appveyor.yml config for a future Windows bot.Eric Fiselier2017-04-191-0/+97
| | | | | | | | I'm currently trying to get a libc++ Windows builder working on appveyor. This patch adds the configuration file needed to build libc++ on Appveyor. Details of where the buildbot can be found will come later llvm-svn: 300786
* Fix typo in Windows test configuration codeEric Fiselier2017-04-191-1/+1
| | | | llvm-svn: 300770
* [libc++] Use _LIBCPP_ABI_MICROSOFT instead of _MSC_VERShoaib Meenai2017-04-191-8/+8
| | | | | | | | _LIBCPP_ABI_MICROSOFT is more appropriate to use here, since the conditionals are controlling Microsoft mangling. It wasn't used originally since it didn't exist at the time. llvm-svn: 300743
* Fix tests for extended noexcept in the container adaptors testsEric Fiselier2017-04-196-9/+12
| | | | llvm-svn: 300652
* Cleanup usages of _LIBCPP_HAS_NO_<c++11-feature> in <exception>Eric Fiselier2017-04-191-8/+8
| | | | llvm-svn: 300649
* Cleanup usages of _LIBCPP_HAS_NO_<c++11-feature> in <bitset>, <ios>, ↵Eric Fiselier2017-04-194-19/+19
| | | | | | <locale>, and <iterator> llvm-svn: 300648
* Cleanup remaining usages of _LIBCPP_HAS_NO_<c++11-feature> in the functional ↵Eric Fiselier2017-04-192-18/+14
| | | | | | library llvm-svn: 300646
* Cleanup remaining usages of _LIBCPP_HAS_NO_<c++11-feature> in tuple and utilityEric Fiselier2017-04-193-34/+22
| | | | llvm-svn: 300644
* Cleanup remaining _LIBCPP_HAS_NO_<c++11-feature> usages in container headersEric Fiselier2017-04-194-27/+19
| | | | llvm-svn: 300643
* Cleanup _LIBCPP_HAS_NO_<c++11-feature> in support headers and final testsEric Fiselier2017-04-1910-39/+35
| | | | llvm-svn: 300637
* Cleanup _LIBCPP_HAS_NO_<c++11-feature> in the utilities libraryEric Fiselier2017-04-1929-35/+69
| | | | llvm-svn: 300635
* Cleanup _LIBCPP_HAS_NO_<c++11-feature> in the string library.Eric Fiselier2017-04-1910-273/+264
| | | | llvm-svn: 300633
* Cleanup _LIBCPP_HAS_NO_<c++11-feature> macros in the numeric tests and headersEric Fiselier2017-04-1932-102/+126
| | | | llvm-svn: 300632
* Cleanup _LIBCPP_HAS_NO_<c++11-features> macro usage in regexEric Fiselier2017-04-185-21/+19
| | | | llvm-svn: 300627
OpenPOWER on IntegriCloud