Eric Fiselier
652a3f3257
Actually mark the tests an unsupported with MSAN (not just ASAN)
...
llvm-svn: 221240
2014-11-04 05:36:15 +00:00
Eric Fiselier
446e4b6be1
Mark tests that replace operator new/delete as UNSUPPORTED with ASAN and MSAN.
...
tests that replace operator new/delete won't link when using ASAN and MSAN
because these sanitizers also replace new/delete.
llvm-svn: 221236
2014-11-04 05:11:41 +00:00
Marshall Clow
79e23cb972
Some tests used __typeof__ instead of decltype. Replace these usages.
...
llvm-svn: 220296
2014-10-21 15:07:09 +00:00
Marshall Clow
6a577a819f
Fix numeric_limits<XXX>::is_modulo for signed arithmetic types. We were reporting true, for all arithmetic types, which is incorrect. Fix the tests which were wrong, too. This fixes PR#20158.
...
llvm-svn: 214371
2014-07-31 01:18:05 +00:00
Stephan Tolksdorf
e180ecab2c
[libc++] Teach is_integral, is_[un]signed and make_[un]signed about __[u]int128_t
...
This commit also adds tests for std::numeric_limits<__[u]int128_t>.
Reviewed in http://llvm-reviews.chandlerc.com/D2917
llvm-svn: 204849
2014-03-26 19:45:52 +00:00
Marshall Clow
0c8bb8f0f2
Fix numeric.limits.members/traps.pass.cpp to pass on non-x86 architectures. Fixes bug #18468
...
llvm-svn: 200724
2014-02-03 23:26:56 +00:00
Marshall Clow
30f1883eee
Removed extra line that I left in when committing 199694. Thanks to Jared Grubb for the catch.
...
llvm-svn: 200108
2014-01-26 01:59:59 +00:00
Marshall Clow
d724d60fff
Removed extra space; thanks to thakis_'s eagle eye
...
llvm-svn: 199695
2014-01-21 00:03:44 +00:00
Marshall Clow
683268b2d8
Fixed test failure in is_iec559.pass.cpp on darwin-ppc32. Thanks to David Fang for the report (and suggested fix)
...
llvm-svn: 199694
2014-01-20 23:57:16 +00:00
Sylvestre Ledru
3973d59f9b
Remove executable permissions on a text file
...
llvm-svn: 196041
2013-12-01 10:15:11 +00:00
Marshall Clow
b387ea89a6
Test for 'bad_array_length'; got left out of initial commit
...
llvm-svn: 190614
2013-09-12 17:01:38 +00:00
Howard Hinnant
93288117a5
Apply constexpr to initializer_list for c++1y.
...
llvm-svn: 189271
2013-08-26 20:11:32 +00:00
Howard Hinnant
10f8387b94
A few fixes to tests for Windows port.
...
llvm-svn: 186334
2013-07-15 18:09:11 +00:00
Howard Hinnant
e0fe3d2e96
War on tabs.
...
llvm-svn: 185865
2013-07-08 21:06:38 +00:00
Daniel Dunbar
1a7f7bc6bf
[tests] XFAIL a few things that require libc (?) support missing on Darwin.
...
llvm-svn: 174450
2013-02-05 22:10:25 +00:00
Howard Hinnant
d27745e4fb
Make a few tests optimization-proof. These tests were failing under -O3 because the optimizer was eliminating the call to new.
...
llvm-svn: 172631
2013-01-16 17:56:06 +00:00
Howard Hinnant
16694b5df5
Zhang Xiongpang: Add definitions for const data members. Fixes http://llvm.org/bugs/show_bug.cgi?id=14585 .
...
llvm-svn: 170026
2012-12-12 21:14:28 +00:00
Howard Hinnant
227001d12e
Add noexcept test for offsetof macro per [support.types]/p4.
...
llvm-svn: 159846
2012-07-06 18:39:01 +00:00
David Chisnall
2f4cb4d79d
Don't refer to a function that doesn't exist in the quick_exit test.
...
llvm-svn: 152716
2012-03-14 14:02:15 +00:00
Howard Hinnant
54976f2619
Fixed PR10574: http://llvm.org/bugs/show_bug.cgi?id=10574
...
llvm-svn: 137522
2011-08-12 21:56:02 +00:00
Alexis Hunt
f3ff971561
Give A an explicitly non-throwing destructor so that B's destructor is
...
itself non-throwing. Since nested_exception's destructor is
non-throwing, if B's destructor is not, this causes an error in C++03
mode due to the overriding function having a more lax specification.
This did not occur in C++0x mode as A's destructor was implicitly
non-throwing.
llvm-svn: 135400
2011-07-18 17:07:53 +00:00
Nick Kledzik
4f8ccdf2f8
<rdar://problem/9073695> std::uncaught_exception() becomes true before evaluating the throw-expression rather than after
...
llvm-svn: 127499
2011-03-11 22:33:07 +00:00
Howard Hinnant
709b108ae1
Corrected const-correctness on nullptr type_traits, and beefed up the test for nullptr_t.
...
llvm-svn: 127338
2011-03-09 17:17:06 +00:00
Howard Hinnant
1596c4531b
N3189 Observers for the three handler functions
...
llvm-svn: 120712
2010-12-02 16:45:21 +00:00
Howard Hinnant
412dbebe1b
license change
...
llvm-svn: 119395
2010-11-16 22:09:02 +00:00
Howard Hinnant
c4931c4746
I have reverted all contributions made by Jesse Towner in revision 110724
...
llvm-svn: 119383
2010-11-16 21:10:23 +00:00
Howard Hinnant
5bed8c6f65
sync with N3126
...
llvm-svn: 113098
2010-09-05 00:57:20 +00:00
Howard Hinnant
e7d99b29be
sync with N3126
...
llvm-svn: 113097
2010-09-05 00:49:04 +00:00
Howard Hinnant
7609c9b665
Changed __config to react to all of clang's currently documented has_feature flags, and renamed _LIBCPP_MOVE to _LIBCPP_HAS_NO_RVALUE_REFERENCES to be more consistent with the rest of the libc++'s flags, and with clang's nomenclature.
...
llvm-svn: 113086
2010-09-04 23:28:19 +00:00
Howard Hinnant
fae824a32d
Remove tabs
...
llvm-svn: 111778
2010-08-22 13:53:14 +00:00
Howard Hinnant
b5a4c50a03
Fixing whitespace problems
...
llvm-svn: 111760
2010-08-22 00:31:12 +00:00
Howard Hinnant
eb2692571f
patch by Jesse Towner, and bug fix by Sebastian Redl
...
llvm-svn: 110724
2010-08-10 20:48:29 +00:00
Howard Hinnant
9d4a2861bb
[support.initlist.range]
...
llvm-svn: 104975
2010-05-28 17:53:59 +00:00
Howard Hinnant
a391bc1323
Corrected rethrow_if_nested
...
llvm-svn: 104943
2010-05-28 13:35:41 +00:00
Howard Hinnant
019fe4b8fd
[except.nested]
...
llvm-svn: 104850
2010-05-27 17:06:52 +00:00
Nick Kledzik
749c758632
change test case to verify unexpected() calls terminate - not is terminate
...
llvm-svn: 103794
2010-05-14 20:17:42 +00:00
Howard Hinnant
5b08a8a432
Wiped out some non-ascii characters that snuck into the copyright.
...
llvm-svn: 103516
2010-05-11 21:36:01 +00:00
Howard Hinnant
3e519524c1
libcxx initial import
...
llvm-svn: 103490
2010-05-11 19:42:16 +00:00