Skip to content

Commit 05fcb73

Browse files
committed
[libc++] Fix misplaced _LIBCPP_POP_MACROS
As a drive-by, also remove unnecessary includes from flat container tests. Closes #134681
1 parent 76d2e08 commit 05fcb73

File tree

5 files changed

+2
-6
lines changed

5 files changed

+2
-6
lines changed

libcxx/include/istream

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1373,6 +1373,8 @@ extern template class _LIBCPP_EXTERN_TEMPLATE_TYPE_VIS basic_iostream<char>;
13731373

13741374
_LIBCPP_END_NAMESPACE_STD
13751375

1376+
_LIBCPP_POP_MACROS
1377+
13761378
# endif // _LIBCPP_HAS_LOCALIZATION
13771379

13781380
# if !defined(_LIBCPP_REMOVE_TRANSITIVE_INCLUDES) && _LIBCPP_STD_VER <= 20
@@ -1382,8 +1384,6 @@ _LIBCPP_END_NAMESPACE_STD
13821384
# include <type_traits>
13831385
# endif
13841386

1385-
_LIBCPP_POP_MACROS
1386-
13871387
#endif // __cplusplus < 201103L && defined(_LIBCPP_USE_FROZEN_CXX03_HEADERS)
13881388

13891389
#endif // _LIBCPP_ISTREAM

libcxx/test/std/containers/container.adaptors/flat.map/flat.map.iterators/reverse_iterator.pass.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
#include <iterator>
2929

3030
#include "test_macros.h"
31-
#include <iostream>
3231

3332
int main(int, char**) {
3433
{

libcxx/test/std/containers/container.adaptors/flat.multimap/flat.multimap.iterators/reverse_iterator.pass.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@
3030
#include <iterator>
3131

3232
#include "test_macros.h"
33-
#include <iostream>
3433

3534
int main(int, char**) {
3635
{

libcxx/test/std/containers/container.adaptors/flat.multiset/flat.multiset.iterators/reverse_iterator.pass.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
#include <iterator>
2929

3030
#include "test_macros.h"
31-
#include <iostream>
3231

3332
void test() {
3433
{

libcxx/test/std/containers/container.adaptors/flat.set/flat.set.iterators/reverse_iterator.pass.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
#include <iterator>
2929

3030
#include "test_macros.h"
31-
#include <iostream>
3231

3332
void test() {
3433
{

0 commit comments

Comments
 (0)