Skip to content

Commit 99edfb4

Browse files
committed
-Wno-private-header
1 parent 0dd14df commit 99edfb4

File tree

3 files changed

+8
-7
lines changed

3 files changed

+8
-7
lines changed

libcxx/test/libcxx/thread/thread.stoptoken/atomic_unique_lock.pass.cpp

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,13 @@
55
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
66
//
77
//===----------------------------------------------------------------------===//
8-
//
9-
// UNSUPPORTED: no-threads
10-
11-
// XFAIL: availability-synchronization_library-missing
128

9+
// UNSUPPORTED: no-threads
1310
// UNSUPPORTED: c++03, c++11, c++14, c++17
11+
// XFAIL: availability-synchronization_library-missing
12+
// ADDITIONAL_COMPILE_FLAGS: -Wno-private-header
1413

15-
#include <stop_token>
14+
#include <__stop_token/atomic_unique_lock.h>
1615
#include <atomic>
1716
#include <cassert>
1817
#include <chrono>

libcxx/test/libcxx/thread/thread.stoptoken/intrusive_list_view.pass.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,9 @@
88
//
99

1010
// UNSUPPORTED: c++03, c++11, c++14, c++17
11+
// ADDITIONAL_COMPILE_FLAGS: -Wno-private-header
1112

12-
#include <stop_token>
13+
#include <__stop_token/intrusive_list_view.h>
1314
#include <cassert>
1415

1516
#include "test_macros.h"

libcxx/test/libcxx/thread/thread.stoptoken/intrusive_shared_ptr.pass.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,9 @@
88
//
99

1010
// UNSUPPORTED: c++03, c++11, c++14, c++17
11+
// ADDITIONAL_COMPILE_FLAGS: -Wno-private-header
1112

12-
#include <stop_token>
13+
#include <__stop_token/intrusive_shared_ptr.h>
1314
#include <atomic>
1415
#include <cassert>
1516
#include <utility>

0 commit comments

Comments
 (0)