Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove unused headers in metaprogramming. #294

Merged
merged 1 commit into from
May 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 4 additions & 19 deletions metaprogramming/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ exports_files(["LICENSE"])
cc_library(
name = "all",
hdrs = ["all.h"],
deps = [":tuple_manipulation"],
)

cc_test(
Expand Down Expand Up @@ -71,10 +70,7 @@ cc_test(
cc_library(
name = "apply",
hdrs = ["apply.h"],
deps = [
":invoke",
":tuple_manipulation",
],
deps = [":tuple_manipulation"],
)

cc_test(
Expand Down Expand Up @@ -137,13 +133,7 @@ cc_test(
cc_library(
name = "cartesian_product",
hdrs = ["cartesian_product.h"],
deps = [
":concatenate",
":n_bit",
":n_bit_sequence",
":type_index_mask",
":type_of_nth_element",
],
deps = [":n_bit_sequence"],
)

cc_test(
Expand All @@ -164,10 +154,7 @@ cc_test(
cc_library(
name = "chain",
hdrs = ["chain.h"],
deps = [
":invoke",
":tuple_manipulation",
],
deps = [":invoke"],
)

cc_test(
Expand Down Expand Up @@ -206,10 +193,8 @@ cc_library(
name = "concatenate",
hdrs = ["concatenate.h"],
deps = [
":invoke",
":per_element",
":combine",
":reduce",
":tuple_manipulation",
],
)

Expand Down
2 changes: 0 additions & 2 deletions metaprogramming/all.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@
#include <tuple>
#include <type_traits>

#include "tuple_manipulation.h"

namespace jni::metaprogramming {

template <typename Func>
Expand Down
1 change: 0 additions & 1 deletion metaprogramming/apply.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@

#include <tuple>

#include "invoke.h"
#include "tuple_manipulation.h"

namespace jni::metaprogramming {
Expand Down
4 changes: 0 additions & 4 deletions metaprogramming/cartesian_product.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,7 @@
#include <type_traits>
#include <utility>

#include "concatenate.h"
#include "n_bit.h"
#include "n_bit_sequence.h"
#include "type_index_mask.h"
#include "type_of_nth_element.h"

namespace jni::metaprogramming {

Expand Down
1 change: 0 additions & 1 deletion metaprogramming/chain.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
#define JNI_BIND_METAPROGRAMMING_CHAIN_H_

#include "invoke.h"
#include "tuple_manipulation.h"

namespace jni::metaprogramming {

Expand Down
4 changes: 1 addition & 3 deletions metaprogramming/concatenate.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,8 @@

#include <tuple>

#include "invoke.h"
#include "per_element.h"
#include "combine.h"
#include "reduce.h"
#include "tuple_manipulation.h"

namespace jni::metaprogramming {

Expand Down