diff options
author | thegeorg <thegeorg@yandex-team.com> | 2024-03-05 19:43:32 +0300 |
---|---|---|
committer | thegeorg <thegeorg@yandex-team.com> | 2024-03-05 19:58:11 +0300 |
commit | 5592bf3a659161d8c9af4d5eda23171aa1a5ebf3 (patch) | |
tree | dfaa42b1a6625ac7d23f935c9255e355320bd87f /build | |
parent | ad2a5a5eb7f9abb107a1ce3ec81d8038e7e06d1a (diff) | |
download | ydb-5592bf3a659161d8c9af4d5eda23171aa1a5ebf3.tar.gz |
Disable non-standard include of <experimental/coroutine>
a99aecaa98ae4b8b13b9be168ce46a6a26d86c57
Diffstat (limited to 'build')
-rw-r--r-- | build/sysincl/stl-to-libcxx.yml | 5 | ||||
-rw-r--r-- | build/sysincl/stl-to-libcxxmsvc.yml | 6 | ||||
-rw-r--r-- | build/sysincl/stl-to-nothing.yml | 4 |
3 files changed, 2 insertions, 13 deletions
diff --git a/build/sysincl/stl-to-libcxx.yml b/build/sysincl/stl-to-libcxx.yml index c8d6de75b2..a76f5dbc85 100644 --- a/build/sysincl/stl-to-libcxx.yml +++ b/build/sysincl/stl-to-libcxx.yml @@ -55,6 +55,7 @@ - ext/hash_set: DO_NOT_INCLUDE_NON_STANDARD_EXT_HASH_SET - experimental/any: DO_NOT_INCLUDE_NON_STANDARD_EXPERIMENTAL_ANY - experimental/chrono: DO_NOT_INCLUDE_NON_STANDARD_EXPERIMENTAL_CHRONO + - experimental/coroutine: DO_NOT_INCLUDE_NON_STANDARD_EXPERIMENTAL_COROUTINE - experimental/filesystem: DO_NOT_INCLUDE_NON_STANDARD_EXPERIMENTAL_FILESYSTEM - experimental/numeric: DO_NOT_INCLUDE_NON_STANDARD_EXPERIMENTAL_NUMERIC - experimental/optional: DO_NOT_INCLUDE_NON_STANDARD_EXPERIMENTAL_OPTIONAL @@ -64,10 +65,6 @@ - experimental/system_error: DO_NOT_INCLUDE_NON_STANDARD_EXPERIMENTAL_SYSTEM_ERROR - experimental/tuple: DO_NOT_INCLUDE_NON_STANDARD_EXPERIMENTAL_TUPLE -# TODO: Forbid including <experimental/coroutine> upon MapKit migration to clang14 -# After that we can mark #include <experimental/coroutine> as error in contrib/libs/asio -- includes: - - experimental/coroutine # This includes all headers needed to resolve includes in c-headers from libcxx listed above # GENERATED BY YM2 diff --git a/build/sysincl/stl-to-libcxxmsvc.yml b/build/sysincl/stl-to-libcxxmsvc.yml index 4d86c73419..77322ea284 100644 --- a/build/sysincl/stl-to-libcxxmsvc.yml +++ b/build/sysincl/stl-to-libcxxmsvc.yml @@ -133,12 +133,6 @@ - vector: contrib/libs/cxxsupp/libcxxmsvc/include/vector - version: contrib/libs/cxxsupp/libcxxmsvc/include/version -# Though these are headers provided by libcxx, we do not want to allow them to be included. -# We are using non-existent filename to generate error instead, as there is no specific syntax for this case. -- includes: - # TODO: Forbid including <experimental/coroutine> upon migration to clang14 - - experimental/coroutine: contrib/libs/cxxsupp/libcxxmsvc/include/experimental/coroutine - # This includes all headers needed to resolve includes in c-headers from libcxx listed above - includes: - __assert: contrib/libs/cxxsupp/libcxxmsvc/include/__assert diff --git a/build/sysincl/stl-to-nothing.yml b/build/sysincl/stl-to-nothing.yml index f2f3efdcab..d5d33fad01 100644 --- a/build/sysincl/stl-to-nothing.yml +++ b/build/sysincl/stl-to-nothing.yml @@ -137,6 +137,7 @@ - ext/hash_set: DO_NOT_INCLUDE_NON_STANDARD_EXT_HASH_SET - experimental/any: DO_NOT_INCLUDE_NON_STANDARD_EXPERIMENTAL_ANY - experimental/chrono: DO_NOT_INCLUDE_NON_STANDARD_EXPERIMENTAL_CHRONO + - experimental/coroutine: DO_NOT_INCLUDE_NON_STANDARD_EXPERIMENTAL_COROUTINE - experimental/filesystem: DO_NOT_INCLUDE_NON_STANDARD_EXPERIMENTAL_FILESYSTEM - experimental/numeric: DO_NOT_INCLUDE_NON_STANDARD_EXPERIMENTAL_NUMERIC - experimental/optional: DO_NOT_INCLUDE_NON_STANDARD_EXPERIMENTAL_OPTIONAL @@ -145,6 +146,3 @@ - experimental/string_view: DO_NOT_INCLUDE_NON_STANDARD_EXPERIMENTAL_STRING_VIEW - experimental/system_error: DO_NOT_INCLUDE_NON_STANDARD_EXPERIMENTAL_SYSTEM_ERROR - experimental/tuple: DO_NOT_INCLUDE_NON_STANDARD_EXPERIMENTAL_TUPLE - - # TODO: Forbid including <experimental/coroutine> upon migration to clang14 - - experimental/coroutine |