Skip to content

Commit

Permalink
Fix files with many warnings requiring a minimal include fix.
Browse files Browse the repository at this point in the history
Removes about 213 misc-include-cleaner warnings.

PiperOrigin-RevId: 632297006
  • Loading branch information
hzeller authored and copybara-github committed May 9, 2024
1 parent 3d9871f commit b68ed2f
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 1 deletion.
1 change: 1 addition & 0 deletions xls/data_structures/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ cc_test(
":graph_contraction",
"@com_google_absl//absl/container:flat_hash_map",
"@com_google_absl//absl/container:flat_hash_set",
"@com_google_absl//absl/types:variant",
"//xls/common:xls_gunit_main",
"@com_google_googletest//:gtest",
],
Expand Down
1 change: 1 addition & 0 deletions xls/data_structures/graph_contraction_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
#include "gtest/gtest.h"
#include "absl/container/flat_hash_map.h"
#include "absl/container/flat_hash_set.h"
#include "absl/types/variant.h"

namespace xls {
namespace {
Expand Down
4 changes: 3 additions & 1 deletion xls/ir/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -639,12 +639,15 @@ cc_test(
deps = [
":bits",
":channel_ops",
":format_preference",
":format_strings",
":function_builder",
":ir",
":ir_matcher",
":node_util",
":op",
":source_location",
":type",
":value",
"//xls/common:xls_gunit_main",
"//xls/common/status:matchers",
Expand Down Expand Up @@ -749,7 +752,6 @@ cc_test(
":channel_cc_proto",
":channel_ops",
":ir",
":ir_matcher",
":ir_parser",
":op",
":value",
Expand Down
4 changes: 4 additions & 0 deletions xls/ir/function_builder_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,16 @@
#include "xls/common/status/matchers.h"
#include "xls/ir/bits.h"
#include "xls/ir/channel_ops.h"
#include "xls/ir/fileno.h"
#include "xls/ir/format_preference.h"
#include "xls/ir/format_strings.h"
#include "xls/ir/ir_matcher.h"
#include "xls/ir/node_util.h"
#include "xls/ir/nodes.h"
#include "xls/ir/op.h"
#include "xls/ir/package.h"
#include "xls/ir/source_location.h"
#include "xls/ir/type.h"
#include "xls/ir/value.h"

namespace m = ::xls::op_matchers;
Expand Down
2 changes: 2 additions & 0 deletions xls/netlist/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,9 @@ cc_test(
name = "netlist_parser_test",
srcs = ["netlist_parser_test.cc"],
deps = [
":cell_library",
":fake_cell_library",
":netlist",
":netlist_parser",
"//xls/common:xls_gunit_main",
"//xls/common/status:matchers",
Expand Down
2 changes: 2 additions & 0 deletions xls/netlist/netlist_parser_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@
#include "absl/status/status.h"
#include "absl/strings/substitute.h"
#include "xls/common/status/matchers.h"
#include "xls/netlist/cell_library.h"
#include "xls/netlist/fake_cell_library.h"
#include "xls/netlist/netlist.h"

namespace xls {
namespace netlist {
Expand Down

0 comments on commit b68ed2f

Please sign in to comment.