Eric Fiselier
ef58b0401a
update XFAIL comments with more details
...
llvm-svn: 300944
2017-04-21 03:09:40 +00:00
Eric Fiselier
9ddcc55228
Mark exception_ptr tests as XFAIL on Windows for now
...
llvm-svn: 300942
2017-04-21 02:13:33 +00:00
Eric Fiselier
0ea799a79c
XFAIL Windows test failures under test/libcxx
...
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
2017-04-21 01:48:02 +00:00
Billy Robert O'Neal III
49ee2a0f28
Resolve unused local typedef warning in test.
...
llvm-svn: 300937
2017-04-21 01:10:04 +00:00
Eric Fiselier
df8f1c0fc7
Fix 'verify-support' available feature
...
llvm-svn: 300934
2017-04-21 00:43:07 +00:00
Shoaib Meenai
8048b44a8c
[libc++] Default to vcruntime when targeting MSVC
...
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
2017-04-20 23:33:49 +00:00
Eric Fiselier
c411225462
Fix ATOMIC_<TYPE>_LOCK_FREE macros on Windows.
...
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
2017-04-20 23:22:46 +00:00
Eric Fiselier
91bd4d9048
Fix comment and remove incorrect linker flags in test configuration
...
llvm-svn: 300881
2017-04-20 20:22:19 +00:00
Eric Fiselier
ed004ef206
Disable the filesystem library on Windows by default
...
llvm-svn: 300820
2017-04-20 04:24:29 +00:00
Eric Fiselier
70a3eb60ed
Rename the static version of libc++ on Windows.
...
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
2017-04-20 04:19:02 +00:00
Eric Fiselier
536339e18e
Make linker errors verbose on Windows
...
llvm-svn: 300809
2017-04-20 01:50:39 +00:00
Eric Fiselier
77ad0d7089
Fix dllimport on a class template
...
llvm-svn: 300808
2017-04-20 01:45:15 +00:00
Eric Fiselier
6b98e43eb4
change what branches Appveyor builds
...
llvm-svn: 300788
2017-04-19 23:27:48 +00:00
Eric Fiselier
ae44aee984
Add appveyor.yml config for a future Windows bot.
...
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
2017-04-19 23:26:21 +00:00
Eric Fiselier
4a3a870da9
Fix typo in Windows test configuration code
...
llvm-svn: 300770
2017-04-19 21:52:08 +00:00
Shoaib Meenai
3698889a7b
[libc++] Use _LIBCPP_ABI_MICROSOFT instead of _MSC_VER
...
_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
2017-04-19 20:11:04 +00:00
Eric Fiselier
2662e56d25
Fix tests for extended noexcept in the container adaptors tests
...
llvm-svn: 300652
2017-04-19 02:07:12 +00:00
Eric Fiselier
6ded58e279
Cleanup usages of _LIBCPP_HAS_NO_<c++11-feature> in <exception>
...
llvm-svn: 300649
2017-04-19 01:35:58 +00:00
Eric Fiselier
046492b932
Cleanup usages of _LIBCPP_HAS_NO_<c++11-feature> in <bitset>, <ios>, <locale>, and <iterator>
...
llvm-svn: 300648
2017-04-19 01:34:08 +00:00
Eric Fiselier
7e23afcb60
Cleanup remaining usages of _LIBCPP_HAS_NO_<c++11-feature> in the functional library
...
llvm-svn: 300646
2017-04-19 01:28:47 +00:00
Eric Fiselier
2987087182
Cleanup remaining usages of _LIBCPP_HAS_NO_<c++11-feature> in tuple and utility
...
llvm-svn: 300644
2017-04-19 01:23:39 +00:00
Eric Fiselier
afa7a957bd
Cleanup remaining _LIBCPP_HAS_NO_<c++11-feature> usages in container headers
...
llvm-svn: 300643
2017-04-19 01:23:04 +00:00
Eric Fiselier
9adebede00
Cleanup _LIBCPP_HAS_NO_<c++11-feature> in support headers and final tests
...
llvm-svn: 300637
2017-04-19 01:02:49 +00:00
Eric Fiselier
95f8e6aa55
Cleanup _LIBCPP_HAS_NO_<c++11-feature> in the utilities library
...
llvm-svn: 300635
2017-04-19 00:56:32 +00:00
Eric Fiselier
414d17c67c
Cleanup _LIBCPP_HAS_NO_<c++11-feature> in the string library.
...
llvm-svn: 300633
2017-04-19 00:28:44 +00:00
Eric Fiselier
69154d6e07
Cleanup _LIBCPP_HAS_NO_<c++11-feature> macros in the numeric tests and headers
...
llvm-svn: 300632
2017-04-19 00:23:45 +00:00
Eric Fiselier
9f7cc58f81
Cleanup _LIBCPP_HAS_NO_<c++11-features> macro usage in regex
...
llvm-svn: 300627
2017-04-18 23:42:15 +00:00
Eric Fiselier
f0aca21e09
Cleanup _LIBCPP_HAS_NO_<c++11-feature> in the input.output library
...
llvm-svn: 300626
2017-04-18 23:38:41 +00:00
Eric Fiselier
ddda456a76
Cleanup _LIBCPP_HAS_NO_<c++11-feature> in algorithm
...
llvm-svn: 300625
2017-04-18 23:26:47 +00:00
Eric Fiselier
94b2bde631
Cleanup _LIBCPP_HAS_NO_<c++11-feature> macros for std::initializer_list
...
llvm-svn: 300623
2017-04-18 23:09:36 +00:00
Eric Fiselier
e11fb13b60
Cleanup _LIBCPP_HAS_NO_<c++11-feature> macros in thread.
...
llvm-svn: 300622
2017-04-18 23:05:08 +00:00
Eric Fiselier
6a470bcb6d
Cleanup _LIBCPP_HAS_NO_<c++11-feature> in std::unordered_map and std::unordered_multimap
...
This completes the cleanup of the containers, at least within the tests.
llvm-svn: 300620
2017-04-18 22:50:56 +00:00
Eric Fiselier
f0f86ef96f
Cleanup _LIBCPP_HAS_NO_<c++11-feature> macros in std::unordered_set and std::unordered_multiset
...
llvm-svn: 300619
2017-04-18 22:37:32 +00:00
Eric Fiselier
f5427b26d3
Cleanup _LIBCPP_HAS_NO_<c++11-feature> for std::queue and std::priority_queue.
...
llvm-svn: 300604
2017-04-18 21:23:18 +00:00
Eric Fiselier
7196ee3175
Cleanup _LIBCPP_HAS_NO_<c++11-feature> macro uses in std::stack.
...
llvm-svn: 300602
2017-04-18 21:16:26 +00:00
Eric Fiselier
1829311665
Cleanup _LIBCPP_HAS_NO_<c++11-feature> macros in std::map and std::multimap
...
llvm-svn: 300600
2017-04-18 21:08:06 +00:00
Eric Fiselier
922940b627
Cleanup _LIBCPP_HAS_NO_<c++11-feature> for std::set and std::multiset
...
llvm-svn: 300595
2017-04-18 20:58:03 +00:00
Casey Carter
38c3c0b034
[test] Silence another unused-typedef warning
...
llvm-svn: 300581
2017-04-18 20:04:39 +00:00
Casey Carter
e699fa997f
[test] Silence unused parameter/typedef warnings
...
llvm-svn: 300575
2017-04-18 18:44:33 +00:00
Marshall Clow
ea9c5465dc
Mark LWG#2788 as complete - we already do this
...
llvm-svn: 300568
2017-04-18 17:22:49 +00:00
Eric Fiselier
74619721a9
Emit benchmark tests into the benchmarks build directory, not lib/
...
llvm-svn: 300533
2017-04-18 07:40:22 +00:00
Eric Fiselier
133a72069e
Update google benchmark
...
llvm-svn: 300530
2017-04-18 07:17:20 +00:00
Billy Robert O'Neal III
e52a34bd9d
Allow a standard library to implement conditional noexcept for optional and unique_ptr hash functions.
...
These tests were unconditionally asserting that optional and unique_ptr declare throwing hashes, but MSVC++ implements conditional noexcept forwarding that of the underlying hash function. As a result we were failing these tests but there's nothing forbidding strengthening noexcept in that way.
Changed the ASSERT_NOT_NOEXCEPT asserts to use types which themselves have non-noexcept hash functions.
llvm-svn: 300516
2017-04-18 00:19:50 +00:00
Eric Fiselier
8948264ed7
Work around GCC 4.9 bug regarding default initialization of const variables
...
llvm-svn: 300510
2017-04-17 22:32:02 +00:00
Eric Fiselier
86321b2bc8
Fix passing incorrectly value-category when constructing unique_ptr's deleter
...
llvm-svn: 300489
2017-04-17 20:20:27 +00:00
Casey Carter
e3bdfe639c
[optional] Update synopsis for LWG2934
...
(comment-only change)
llvm-svn: 300488
2017-04-17 20:15:16 +00:00
Marshall Clow
d588b56d9c
Sigh. Once again forgot about the 'no exceptions' bots.
...
llvm-svn: 300451
2017-04-17 14:18:44 +00:00
Marshall Clow
f0d59405f0
Mark LWG#2853 as complete. No code changes required, but added a couple of extra tests
...
llvm-svn: 300449
2017-04-17 13:19:14 +00:00
Eric Fiselier
2bbb4ecd94
Cleanup one more <forward_list> test
...
llvm-svn: 300417
2017-04-16 04:05:15 +00:00
Eric Fiselier
99f2c00199
Replace _LIBCPP_HAS_NO_<C++03 feature> with _LIBCPP_CXX03_LANG in <forward_list>
...
llvm-svn: 300415
2017-04-16 04:02:01 +00:00