Skip to content

Commit

Permalink
Remove unused, add missing vendorization
Browse files Browse the repository at this point in the history
  • Loading branch information
mmore500 committed Oct 14, 2022
1 parent 8a655cc commit 4508d3e
Show file tree
Hide file tree
Showing 5 changed files with 1,460 additions and 4 deletions.
4 changes: 0 additions & 4 deletions include/uit_emp/_codegen/pylib/_iter_header_paths.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,6 @@ def iter_header_paths() -> typing.Iterator[str]:
# )

yield from (
"base/assert.hpp",
"base/always_assert.hpp",
"base/error.hpp",
"base/errors.hpp",
"data/DataNode.hpp",
"data/DataFile.hpp",
"datastructs/QueueCache.hpp",
Expand Down
100 changes: 100 additions & 0 deletions include/uit_emp/vendorization/pop_headerguards.hh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@
#endif // #ifdef EMP_ALWAYS_ASSERT_HPP
#pragma pop_macro("EMP_ALWAYS_ASSERT_HPP")

#ifdef EMP_ARRAY_H
#define UIT_EMP_ARRAY_H_HEADERGUARD
#endif // #ifdef EMP_ARRAY_H
#pragma pop_macro("EMP_ARRAY_H")

#ifdef EMP_ASSERT_HPP
#define UIT_EMP_ASSERT_HPP_HEADERGUARD
#endif // #ifdef EMP_ASSERT_HPP
Expand All @@ -20,6 +25,31 @@
#endif // #ifdef EMP_BASE_EMP_NAMESPACE_HPP
#pragma pop_macro("EMP_BASE_EMP_NAMESPACE_HPP")

#ifdef EMP_BITSET_UTILS_H
#define UIT_EMP_BITSET_UTILS_H_HEADERGUARD
#endif // #ifdef EMP_BITSET_UTILS_H
#pragma pop_macro("EMP_BITSET_UTILS_H")

#ifdef EMP_CONST_H
#define UIT_EMP_CONST_H_HEADERGUARD
#endif // #ifdef EMP_CONST_H
#pragma pop_macro("EMP_CONST_H")

#ifdef EMP_DATA_NODE_H
#define UIT_EMP_DATA_NODE_H_HEADERGUARD
#endif // #ifdef EMP_DATA_NODE_H
#pragma pop_macro("EMP_DATA_NODE_H")

#ifdef EMP_FUNCTION_SET_H
#define UIT_EMP_FUNCTION_SET_H_HEADERGUARD
#endif // #ifdef EMP_FUNCTION_SET_H
#pragma pop_macro("EMP_FUNCTION_SET_H")

#ifdef EMP_INDEX_MAP_H
#define UIT_EMP_INDEX_MAP_H_HEADERGUARD
#endif // #ifdef EMP_INDEX_MAP_H
#pragma pop_macro("EMP_INDEX_MAP_H")

#ifdef EMP_IS_STREAMABLE_HPP
#define UIT_EMP_IS_STREAMABLE_HPP_HEADERGUARD
#endif // #ifdef EMP_IS_STREAMABLE_HPP
Expand All @@ -35,9 +65,79 @@
#endif // #ifdef EMP_MACRO_MATH_H
#pragma pop_macro("EMP_MACRO_MATH_H")

#ifdef EMP_MATH_H
#define UIT_EMP_MATH_H_HEADERGUARD
#endif // #ifdef EMP_MATH_H
#pragma pop_macro("EMP_MATH_H")

#ifdef EMP_META_H
#define UIT_EMP_META_H_HEADERGUARD
#endif // #ifdef EMP_META_H
#pragma pop_macro("EMP_META_H")

#ifdef EMP_NATIVE_ASSERT_TRIGGER_HPP
#define UIT_EMP_NATIVE_ASSERT_TRIGGER_HPP_HEADERGUARD
#endif // #ifdef EMP_NATIVE_ASSERT_TRIGGER_HPP
#pragma pop_macro("EMP_NATIVE_ASSERT_TRIGGER_HPP")

#ifdef EMP_OPTIONAL_H
#define UIT_EMP_OPTIONAL_H_HEADERGUARD
#endif // #ifdef EMP_OPTIONAL_H
#pragma pop_macro("EMP_OPTIONAL_H")

#ifdef EMP_PTR_H
#define UIT_EMP_PTR_H_HEADERGUARD
#endif // #ifdef EMP_PTR_H
#pragma pop_macro("EMP_PTR_H")

#ifdef EMP_RANDOM_H
#define UIT_EMP_RANDOM_H_HEADERGUARD
#endif // #ifdef EMP_RANDOM_H
#pragma pop_macro("EMP_RANDOM_H")

#ifdef EMP_RANGE_H
#define UIT_EMP_RANGE_H_HEADERGUARD
#endif // #ifdef EMP_RANGE_H
#pragma pop_macro("EMP_RANGE_H")

#ifdef EMP_REFLECTION_H
#define UIT_EMP_REFLECTION_H_HEADERGUARD
#endif // #ifdef EMP_REFLECTION_H
#pragma pop_macro("EMP_REFLECTION_H")

#ifdef EMP_STRING_TYPE_H
#define UIT_EMP_STRING_TYPE_H_HEADERGUARD
#endif // #ifdef EMP_STRING_TYPE_H
#pragma pop_macro("EMP_STRING_TYPE_H")

#ifdef EMP_STRING_UTILS_H
#define UIT_EMP_STRING_UTILS_H_HEADERGUARD
#endif // #ifdef EMP_STRING_UTILS_H
#pragma pop_macro("EMP_STRING_UTILS_H")

#ifdef EMP_TYPE_ID_H
#define UIT_EMP_TYPE_ID_H_HEADERGUARD
#endif // #ifdef EMP_TYPE_ID_H
#pragma pop_macro("EMP_TYPE_ID_H")

#ifdef EMP_TYPE_PACK_H
#define UIT_EMP_TYPE_PACK_H_HEADERGUARD
#endif // #ifdef EMP_TYPE_PACK_H
#pragma pop_macro("EMP_TYPE_PACK_H")

#ifdef EMP_TYPE_TRAITS_H
#define UIT_EMP_TYPE_TRAITS_H_HEADERGUARD
#endif // #ifdef EMP_TYPE_TRAITS_H
#pragma pop_macro("EMP_TYPE_TRAITS_H")

#ifdef EMP_VAL_PACK_H
#define UIT_EMP_VAL_PACK_H_HEADERGUARD
#endif // #ifdef EMP_VAL_PACK_H
#pragma pop_macro("EMP_VAL_PACK_H")

#ifdef EMP_VECTOR_H
#define UIT_EMP_VECTOR_H_HEADERGUARD
#endif // #ifdef EMP_VECTOR_H
#pragma pop_macro("EMP_VECTOR_H")

#endif // #ifdef UIT_VENDORIZE_EMP
Loading

0 comments on commit 4508d3e

Please sign in to comment.