aboutsummaryrefslogtreecommitdiffstats
path: root/build/sysincl
diff options
context:
space:
mode:
authorthegeorg <thegeorg@yandex-team.com>2023-06-27 13:40:28 +0300
committerthegeorg <thegeorg@yandex-team.com>2023-06-27 13:40:28 +0300
commitf32cfa7135a598ca17b8059edbe7bf6df6e35de2 (patch)
treee62a65027d3cd8970b4c3fc43381feebb697e522 /build/sysincl
parent60b31269dc93b86d297c964565c892a92a34396a (diff)
downloadydb-f32cfa7135a598ca17b8059edbe7bf6df6e35de2.tar.gz
Provide proper macro resolution for BOOST_PP_ITERATE()
Diffstat (limited to 'build/sysincl')
-rw-r--r--build/sysincl/macro.yml26
1 files changed, 25 insertions, 1 deletions
diff --git a/build/sysincl/macro.yml b/build/sysincl/macro.yml
index 198158b005..3115840c8b 100644
--- a/build/sysincl/macro.yml
+++ b/build/sysincl/macro.yml
@@ -30,6 +30,14 @@
- Y_UCRT_INCLUDE_NEXT(wchar.h)
- Y_UCRT_INCLUDE_NEXT(wctype.h)
+ # BOOST_PP_ITERATE() itself is defined to one of these values
+ - BOOST_PP_ITERATE():
+ - contrib/restricted/boost/preprocessor/include/boost/preprocessor/iteration/detail/iter/forward1.hpp
+ - contrib/restricted/boost/preprocessor/include/boost/preprocessor/iteration/detail/iter/forward2.hpp
+ - contrib/restricted/boost/preprocessor/include/boost/preprocessor/iteration/detail/iter/forward3.hpp
+ - contrib/restricted/boost/preprocessor/include/boost/preprocessor/iteration/detail/iter/forward4.hpp
+ - contrib/restricted/boost/preprocessor/include/boost/preprocessor/iteration/detail/iter/forward5.hpp
+
# BOOST_PP_INCLUDE_SELF() is defined in boost/preprocessor/iteration/detail/self.hpp
# It works as follows:
# The user defines BOOST_PP_INDIRECT_SELF containing current file name.
@@ -186,7 +194,6 @@
- contrib/restricted/boost/function_types/include/boost/function_types/detail/pp_tags/cc_tag.hpp
- BOOST_ABI_PREFIX: contrib/restricted/boost/config/include/boost/config/abi/msvc_prefix.hpp
- BOOST_ABI_SUFFIX: contrib/restricted/boost/config/include/boost/config/abi/msvc_suffix.hpp
- - BOOST_PP_ASSIGN_SLOT(1): contrib/restricted/boost/preprocessor/include/boost/preprocessor/slot/detail/slot1.hpp
- BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP(): contrib/restricted/boost/typeof/include/boost/typeof/incr_registration_group.hpp
- BOOST_REGEX_USER_CONFIG: contrib/restricted/boost/regex/include/boost/regex/user.hpp
- BOOST_USER_CONFIG: contrib/restricted/boost/config/include/boost/config/user.hpp
@@ -340,6 +347,7 @@
- contrib/restricted/boost/function_types/include/boost/function_types/detail/pp_cc_loop/master.hpp
- contrib/restricted/boost/function_types/include/boost/function_types/detail/pp_cc_loop/preprocessed.hpp
- BOOST_FT_variate_file: contrib/restricted/boost/function_types/include/boost/function_types/detail/pp_arity_loop.hpp
+ - BOOST_PP_ASSIGN_SLOT(1): contrib/restricted/boost/preprocessor/include/boost/preprocessor/slot/detail/slot1.hpp
- BOOST_PP_ITERATE(): contrib/restricted/boost/function_types/include/boost/function_types/detail/pp_cc_loop/master.hpp
- source_filter: "^contrib/restricted/boost/functional"
@@ -640,6 +648,22 @@
- BOOST_PHOENIX_ITERATE(): contrib/restricted/boost/phoenix/include/boost/phoenix/support/detail/iterate.hpp
- BOOST_PP_ITERATE(): contrib/restricted/boost/phoenix/include/boost/phoenix/support/detail/iterate.hpp
+- source_filter: "^contrib/restricted/boost/preprocessor"
+ includes:
+ # BOOST_PP_ASSIGN_SLOT(i) macros are defined in boost/preprocessor/slot/slot.hpp
+ - BOOST_PP_ASSIGN_SLOT(1): contrib/restricted/boost/preprocessor/include/boost/preprocessor/slot/detail/slot1.hpp
+ - BOOST_PP_ASSIGN_SLOT(2): contrib/restricted/boost/preprocessor/include/boost/preprocessor/slot/detail/slot2.hpp
+ - BOOST_PP_ASSIGN_SLOT(3): contrib/restricted/boost/preprocessor/include/boost/preprocessor/slot/detail/slot3.hpp
+ - BOOST_PP_ASSIGN_SLOT(4): contrib/restricted/boost/preprocessor/include/boost/preprocessor/slot/detail/slot4.hpp
+ - BOOST_PP_ASSIGN_SLOT(5): contrib/restricted/boost/preprocessor/include/boost/preprocessor/slot/detail/slot5.hpp
+
+ # BOOST_PP_FILENAME macros extract values from BOOST_PP_ITERATION_PARAMS, which we have already resolved in BOOST_PP_ITERATE()
+ - BOOST_PP_FILENAME_1
+ - BOOST_PP_FILENAME_2
+ - BOOST_PP_FILENAME_3
+ - BOOST_PP_FILENAME_4
+ - BOOST_PP_FILENAME_5
+
- source_filter: "^contrib/restricted/boost/proto"
includes:
- BOOST_PP_ITERATE():