summaryrefslogtreecommitdiff
path: root/libcxx/utils/generate_feature_test_macro_components.py
diff options
context:
space:
mode:
authorLouis Dionne <ldionne.2@gmail.com>2022-05-26 11:49:47 -0400
committerLouis Dionne <ldionne.2@gmail.com>2022-05-27 15:24:45 -0400
commita7f9895cc18995549c7facb96e72718da282a864 (patch)
tree6a95dbde87ff705af173fe6f7975f5558e71b6fd /libcxx/utils/generate_feature_test_macro_components.py
parenteb1c50378e73f3e05678633b3d2b4b7b23d5e709 (diff)
downloadllvm-a7f9895cc18995549c7facb96e72718da282a864.tar.gz
[runtimes] Rename various libcpp-has-no-XYZ Lit features to just no-XYZ
Since those features are general properties of the environment, it makes sense to use them from libc++abi too, and so the name libcpp-has-no-xxx doesn't make sense. Differential Revision: https://reviews.llvm.org/D126482
Diffstat (limited to 'libcxx/utils/generate_feature_test_macro_components.py')
-rwxr-xr-xlibcxx/utils/generate_feature_test_macro_components.py30
1 files changed, 15 insertions, 15 deletions
diff --git a/libcxx/utils/generate_feature_test_macro_components.py b/libcxx/utils/generate_feature_test_macro_components.py
index 1e31677fb757..b8e82806c9f2 100755
--- a/libcxx/utils/generate_feature_test_macro_components.py
+++ b/libcxx/utils/generate_feature_test_macro_components.py
@@ -764,23 +764,23 @@ assert all(all(key in ["name", "values", "headers", "libcxx_guard", "test_suite_
# <thread> should be marked as UNSUPPORTED, because including <thread>
# is a hard error in that case.
lit_markup = {
- "barrier": ["UNSUPPORTED: libcpp-has-no-threads"],
- "filesystem": ["UNSUPPORTED: libcpp-has-no-filesystem-library"],
+ "barrier": ["UNSUPPORTED: no-threads"],
+ "filesystem": ["UNSUPPORTED: no-filesystem"],
"format": ["UNSUPPORTED: libcpp-has-no-incomplete-format"],
- "iomanip": ["UNSUPPORTED: libcpp-has-no-localization"],
- "ios": ["UNSUPPORTED: libcpp-has-no-localization"],
- "iostream": ["UNSUPPORTED: libcpp-has-no-localization"],
- "istream": ["UNSUPPORTED: libcpp-has-no-localization"],
- "latch": ["UNSUPPORTED: libcpp-has-no-threads"],
- "locale": ["UNSUPPORTED: libcpp-has-no-localization"],
- "mutex": ["UNSUPPORTED: libcpp-has-no-threads"],
- "ostream": ["UNSUPPORTED: libcpp-has-no-localization"],
+ "iomanip": ["UNSUPPORTED: no-localization"],
+ "ios": ["UNSUPPORTED: no-localization"],
+ "iostream": ["UNSUPPORTED: no-localization"],
+ "istream": ["UNSUPPORTED: no-localization"],
+ "latch": ["UNSUPPORTED: no-threads"],
+ "locale": ["UNSUPPORTED: no-localization"],
+ "mutex": ["UNSUPPORTED: no-threads"],
+ "ostream": ["UNSUPPORTED: no-localization"],
"ranges": ["UNSUPPORTED: libcpp-has-no-incomplete-ranges"],
- "regex": ["UNSUPPORTED: libcpp-has-no-localization"],
- "semaphore": ["UNSUPPORTED: libcpp-has-no-threads"],
- "shared_mutex": ["UNSUPPORTED: libcpp-has-no-threads"],
- "stdatomic.h": ["UNSUPPORTED: libcpp-has-no-threads"],
- "thread": ["UNSUPPORTED: libcpp-has-no-threads"],
+ "regex": ["UNSUPPORTED: no-localization"],
+ "semaphore": ["UNSUPPORTED: no-threads"],
+ "shared_mutex": ["UNSUPPORTED: no-threads"],
+ "stdatomic.h": ["UNSUPPORTED: no-threads"],
+ "thread": ["UNSUPPORTED: no-threads"],
}
def get_std_dialects():