Skip to content

Commit 0f31f68

Browse files
committed
[libc++] NFC: Sort header lists in test scripts
1 parent 325a561 commit 0f31f68

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

libcxx/utils/generate_header_inclusion_tests.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ def get_libcxx_paths():
4646
"regex": ["compare", "initializer_list"],
4747
"set": ["compare", "initializer_list"],
4848
"stack": ["compare", "initializer_list"],
49-
"string": ["compare", "initializer_list"],
5049
"string_view": ["compare"],
50+
"string": ["compare", "initializer_list"],
5151
# TODO "syncstream": ["ostream"],
5252
"system_error": ["compare"],
5353
"tgmath.h": ["cmath", "complex"],
@@ -70,14 +70,14 @@ def get_libcxx_paths():
7070
"filesystem": "17",
7171
"initializer_list": "11",
7272
"optional": "17",
73+
"ranges": "20",
74+
"string_view": "17",
75+
"syncstream": "20",
7376
"system_error": "11",
7477
"thread": "11",
7578
"tuple": "11",
7679
"unordered_map": "11",
7780
"unordered_set": "11",
78-
"string_view": "17",
79-
"ranges": "20",
80-
"syncstream": "20",
8181
"variant": "17",
8282
}
8383

@@ -94,9 +94,9 @@ def get_libcxx_paths():
9494
"barrier": ["UNSUPPORTED: libcpp-has-no-threads"],
9595
"filesystem": ["UNSUPPORTED: libcpp-has-no-filesystem-library"],
9696
"iomanip": ["UNSUPPORTED: libcpp-has-no-localization"],
97-
"istream": ["UNSUPPORTED: libcpp-has-no-localization"],
9897
"ios": ["UNSUPPORTED: libcpp-has-no-localization"],
9998
"iostream": ["UNSUPPORTED: libcpp-has-no-localization"],
99+
"istream": ["UNSUPPORTED: libcpp-has-no-localization"],
100100
"latch": ["UNSUPPORTED: libcpp-has-no-threads"],
101101
"locale": ["UNSUPPORTED: libcpp-has-no-localization"],
102102
"ostream": ["UNSUPPORTED: libcpp-has-no-localization"],

libcxx/utils/generate_header_tests.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,12 @@ def get_libcxx_paths():
2626
"future": ["ifndef _LIBCPP_HAS_NO_THREADS"],
2727
"latch": ["ifndef _LIBCPP_HAS_NO_THREADS"],
2828
"mutex": ["ifndef _LIBCPP_HAS_NO_THREADS"],
29-
"shared_mutex": ["ifndef _LIBCPP_HAS_NO_THREADS"],
3029
"semaphore": ["ifndef _LIBCPP_HAS_NO_THREADS"],
30+
"shared_mutex": ["ifndef _LIBCPP_HAS_NO_THREADS"],
3131
"thread": ["ifndef _LIBCPP_HAS_NO_THREADS"],
3232

33-
"filesystem": ["ifndef _LIBCPP_HAS_NO_FILESYSTEM_LIBRARY"],
3433
"experimental/filesystem": ["ifndef _LIBCPP_HAS_NO_FILESYSTEM_LIBRARY"],
34+
"filesystem": ["ifndef _LIBCPP_HAS_NO_FILESYSTEM_LIBRARY"],
3535

3636
"clocale": ["ifndef _LIBCPP_HAS_NO_LOCALIZATION"],
3737
"codecvt": ["ifndef _LIBCPP_HAS_NO_LOCALIZATION"],
@@ -40,8 +40,8 @@ def get_libcxx_paths():
4040
"ios": ["ifndef _LIBCPP_HAS_NO_LOCALIZATION"],
4141
"iostream": ["ifndef _LIBCPP_HAS_NO_LOCALIZATION"],
4242
"istream": ["ifndef _LIBCPP_HAS_NO_LOCALIZATION"],
43-
"locale": ["ifndef _LIBCPP_HAS_NO_LOCALIZATION"],
4443
"locale.h": ["ifndef _LIBCPP_HAS_NO_LOCALIZATION"],
44+
"locale": ["ifndef _LIBCPP_HAS_NO_LOCALIZATION"],
4545
"ostream": ["ifndef _LIBCPP_HAS_NO_LOCALIZATION"],
4646
"regex": ["ifndef _LIBCPP_HAS_NO_LOCALIZATION"],
4747
"sstream": ["ifndef _LIBCPP_HAS_NO_LOCALIZATION"],

0 commit comments

Comments
 (0)