Skip to content

Commit 372928a

Browse files
committed
Fix CI issues
1 parent a02468e commit 372928a

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

libcxx/include/forward_list

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,7 @@ template <class T, class Allocator, class Predicate>
216216
# include <__memory/pointer_traits.h>
217217
# include <__memory/swap_allocator.h>
218218
# include <__memory_resource/polymorphic_allocator.h>
219+
# include <__new/launder.h>
219220
# include <__ranges/access.h>
220221
# include <__ranges/concepts.h>
221222
# include <__ranges/container_compatible_range.h>
@@ -235,7 +236,6 @@ template <class T, class Allocator, class Predicate>
235236
# include <__utility/move.h>
236237
# include <__utility/swap.h>
237238
# include <limits>
238-
# include <new> // __launder
239239
# include <version>
240240

241241
// standard-mandated includes

libcxx/include/list

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,7 @@ template <class T, class Allocator, class Predicate>
222222
# include <__memory/pointer_traits.h>
223223
# include <__memory/swap_allocator.h>
224224
# include <__memory_resource/polymorphic_allocator.h>
225+
# include <__new/launder.h>
225226
# include <__ranges/access.h>
226227
# include <__ranges/concepts.h>
227228
# include <__ranges/container_compatible_range.h>
@@ -240,7 +241,6 @@ template <class T, class Allocator, class Predicate>
240241
# include <__utility/swap.h>
241242
# include <cstring>
242243
# include <limits>
243-
# include <new> // __launder
244244
# include <version>
245245

246246
// standard-mandated includes

libcxxabi/test/cxa_vec_new_overflow_PR41395.pass.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,9 @@
1212
// XFAIL: using-built-library-before-llvm-9
1313

1414
#include "cxxabi.h"
15-
#include <new>
1615
#include <cassert>
16+
#include <cstddef>
17+
#include <new>
1718

1819
void dummy_ctor(void*) { assert(false && "should not be called"); }
1920
void dummy_dtor(void*) { assert(false && "should not be called"); }

0 commit comments

Comments
 (0)