Skip to content

Commit 37c0d41

Browse files
author
git apple-llvm automerger
committed
Merge commit '13410fa79ff0' from llvm.org/master into apple/main
2 parents 5ad9eea + 13410fa commit 37c0d41

File tree

3 files changed

+9
-25
lines changed

3 files changed

+9
-25
lines changed

libcxx/test/libcxx/containers/sequences/vector/asan.pass.cpp

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
//
77
//===----------------------------------------------------------------------===//
88

9+
// REQUIRES: asan
10+
911
// <vector>
1012

1113
// reference operator[](size_type n);
@@ -19,7 +21,6 @@
1921
#include "test_iterators.h"
2022
#include "test_macros.h"
2123

22-
#ifndef _LIBCPP_HAS_NO_ASAN
2324
extern "C" void __sanitizer_set_death_callback(void (*callback)(void));
2425

2526
void do_exit() {
@@ -65,6 +66,3 @@ int main(int, char**)
6566
((void)foo);
6667
}
6768
}
68-
#else
69-
int main(int, char**) { return 0; }
70-
#endif

libcxx/test/std/strings/string.view/string.view.nonmem/quoted.pass.cpp

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
//
77
//===----------------------------------------------------------------------===//
88

9+
// UNSUPPORTED: c++03, c++11
10+
911
// <iomanip>
1012

1113
// quoted
@@ -17,9 +19,6 @@
1719

1820
#include "test_macros.h"
1921

20-
#if TEST_STD_VER > 11
21-
// quoted is C++14 only
22-
2322
bool is_skipws ( const std::istream *is ) {
2423
return ( is->flags() & std::ios_base::skipws ) != 0;
2524
}
@@ -210,8 +209,3 @@ int main(int, char**)
210209

211210
return 0;
212211
}
213-
#else
214-
int main(int, char**) {
215-
return 0;
216-
}
217-
#endif

libcxx/test/std/utilities/intseq/intseq.intseq/integer_seq.compile.fail.cpp

Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
//
77
//===----------------------------------------------------------------------===//
88

9+
// UNSUPPORTED: c++03, c++11
10+
911
// <utility>
1012

1113
// template<class T, T... I>
@@ -23,19 +25,9 @@
2325

2426
#include "test_macros.h"
2527

26-
int main(int, char**)
27-
{
28-
#if TEST_STD_VER > 11
29-
30-
// Should fail to compile, since float is not an integral type
28+
int main(int, char**) {
29+
// Should fail to compile, since float is not an integral type
3130
using floatmix = std::integer_sequence<float>;
3231
floatmix::value_type I;
33-
34-
#else
35-
36-
X
37-
38-
#endif // TEST_STD_VER > 11
39-
40-
return 0;
32+
return 0;
4133
}

0 commit comments

Comments
 (0)