Eric Fiselier
f2f2a6395f
Replace __cplusplus comparisons and dialect __has_feature checks with TEST_STD_VER.
...
This is a huge cleanup that helps make the libc++ test suite more portable.
Patch from STL@microsoft.com . Thanks STL!
llvm-svn: 272716
2016-06-14 21:31:42 +00:00
Eric Fiselier
d04c685168
Remove trailing whitespace in test suite. Approved by Marshall Clow.
...
llvm-svn: 271435
2016-06-01 21:35:39 +00:00
Eric Fiselier
af4a5a7f33
Make string_view work with -fno-exceptions and get tests passing.
...
llvm-svn: 271237
2016-05-30 23:53:19 +00:00
Asiri Rathnayake
f520c1445f
Make it possible to build a no-exceptions variant of libcxx.
...
Fixes a small omission in libcxx that prevents libcxx being built when
-DLIBCXX_ENABLE_EXCEPTIONS=0 is specified.
This patch adds XFAILS to all those tests that are currently failing
on the new -fno-exceptions library variant. Follow-up patches will
update the tests (progressively) to cope with the new library variant.
Change-Id: I4b801bd8d8e4fe7193df9e55f39f1f393a8ba81a
llvm-svn: 252598
2015-11-10 11:41:22 +00:00
Marshall Clow
c08e8f81ec
Remove undefined behavior from test; specifically, compare(NULL, XXX, 0)
...
llvm-svn: 228928
2015-02-12 15:25:54 +00:00
Marshall Clow
351dde4e03
Remove undefined behavior from test; specifically, compare(NULL, XXX, 0). Thanks to Eric for the catch
...
llvm-svn: 228927
2015-02-12 15:21:20 +00:00
Eric Fiselier
cc2e1ab69c
Add pragma system header to some experimental headers and add newlines to files.
...
llvm-svn: 228712
2015-02-10 17:32:49 +00:00
Eric Fiselier
5a83710e37
Move test into test/std subdirectory.
...
llvm-svn: 224658
2014-12-20 01:40:03 +00:00