summaryrefslogtreecommitdiff
path: root/libcxx/utils/generate_feature_test_macro_components.py
diff options
context:
space:
mode:
authorMark de Wever <koraq@xs4all.nl>2022-08-20 14:51:52 +0200
committerMark de Wever <koraq@xs4all.nl>2022-08-30 17:56:35 +0200
commita72f6b032c37138212d75256e2ddee6fd301c0da (patch)
treeae0d851a9cd310f9522ba3cfa20ce42c7588da1d /libcxx/utils/generate_feature_test_macro_components.py
parent78304450863bd4839427b486a3df70509ffc6b26 (diff)
downloadllvm-a72f6b032c37138212d75256e2ddee6fd301c0da.tar.gz
[libc++] Improves feature-test macro diagnostics.
This was mentioned in review D131326. Reviewed By: var-const, #libc, philnik Differential Revision: https://reviews.llvm.org/D132293
Diffstat (limited to 'libcxx/utils/generate_feature_test_macro_components.py')
-rwxr-xr-xlibcxx/utils/generate_feature_test_macro_components.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxx/utils/generate_feature_test_macro_components.py b/libcxx/utils/generate_feature_test_macro_components.py
index 7bec48a54016..27e2d23f7da6 100755
--- a/libcxx/utils/generate_feature_test_macro_components.py
+++ b/libcxx/utils/generate_feature_test_macro_components.py
@@ -982,7 +982,7 @@ test_types = {
# endif
# else
# ifdef {name}
-# error "{name} should not be defined when {test_suite_guard} is not defined!"
+# error "{name} should not be defined when the requirement '{test_suite_guard}' is not met!"
# endif
# endif
""",