diff options
author | Mark de Wever <koraq@xs4all.nl> | 2021-07-25 09:18:53 +0200 |
---|---|---|
committer | Mark de Wever <koraq@xs4all.nl> | 2021-07-27 22:37:35 +0200 |
commit | 71909de37495c82e31ae3a59f366f48e8fb66e54 (patch) | |
tree | fb3e58a777ce476dc4c1c2abc8dad8502c671894 /libcxx/utils/generate_header_tests.py | |
parent | d1c7a57fe8e051aa7886a7d4052627f6bc4a4ae6 (diff) | |
download | llvm-71909de37495c82e31ae3a59f366f48e8fb66e54.zip llvm-71909de37495c82e31ae3a59f366f48e8fb66e54.tar.gz llvm-71909de37495c82e31ae3a59f366f48e8fb66e54.tar.bz2 |
[libc++] Disable incomplete library features.
Adds a new CMake option to disable the usage of incomplete headers.
These incomplete headers are not guaranteed to be ABI stable. This
option is intended to be used by vendors so they can avoid their users
from code that's not ready for production usage.
The option is enabled by default.
Differential Revision: https://reviews.llvm.org/D106763
Diffstat (limited to 'libcxx/utils/generate_header_tests.py')
-rwxr-xr-x | libcxx/utils/generate_header_tests.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libcxx/utils/generate_header_tests.py b/libcxx/utils/generate_header_tests.py index 5236350..e081914 100755 --- a/libcxx/utils/generate_header_tests.py +++ b/libcxx/utils/generate_header_tests.py @@ -32,6 +32,7 @@ header_markup = { "experimental/filesystem": ["ifndef _LIBCPP_HAS_NO_FILESYSTEM_LIBRARY"], "filesystem": ["ifndef _LIBCPP_HAS_NO_FILESYSTEM_LIBRARY"], + "format": ["ifndef _LIBCPP_HAS_NO_INCOMPLETE_FORMAT"], "clocale": ["ifndef _LIBCPP_HAS_NO_LOCALIZATION"], "codecvt": ["ifndef _LIBCPP_HAS_NO_LOCALIZATION"], @@ -43,6 +44,7 @@ header_markup = { "locale.h": ["ifndef _LIBCPP_HAS_NO_LOCALIZATION"], "locale": ["ifndef _LIBCPP_HAS_NO_LOCALIZATION"], "ostream": ["ifndef _LIBCPP_HAS_NO_LOCALIZATION"], + "ranges": ["ifndef _LIBCPP_HAS_NO_INCOMPLETE_RANGES"], "regex": ["ifndef _LIBCPP_HAS_NO_LOCALIZATION"], "sstream": ["ifndef _LIBCPP_HAS_NO_LOCALIZATION"], "streambuf": ["ifndef _LIBCPP_HAS_NO_LOCALIZATION"], |