Skip to content

Commit

Permalink
#Centipede IWYU in features.* and runner*.*
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 578264315
  • Loading branch information
ussuri authored and copybara-github committed Nov 1, 2023
1 parent 8aaf126 commit 61dfbbc
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 10 deletions.
1 change: 0 additions & 1 deletion centipede/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,6 @@ cc_library(
],
visibility = PUBLIC_API_VISIBILITY,
deps = [
":int_utils",
":rolling_hash",
"@com_google_absl//absl/base:core_headers", # exception, ok to depend on here.
],
Expand Down
10 changes: 2 additions & 8 deletions centipede/feature.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,22 +30,16 @@
#ifndef THIRD_PARTY_CENTIPEDE_FEATURE_H_
#define THIRD_PARTY_CENTIPEDE_FEATURE_H_

#include <stddef.h>
#include <string.h>

// WARNING!!!: Be very careful with what STL headers or other dependencies you
// add here. This header needs to remain mostly bare-bones so that we can
// include it into runner.
// <vector> is an exception, because it's too clumsy w/o it, and it introduces
// minimal code footprint.
#include <cstddef>
#include <cstdint>
#include <limits>
#include <memory>
#include <cstring>
#include <vector>

#include "./centipede/concurrent_bitset.h"
#include "./centipede/int_utils.h"

namespace centipede {

// Feature is an integer that identifies some unique behaviour
Expand Down
2 changes: 1 addition & 1 deletion centipede/runner.cc
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
#include "./centipede/byte_array_mutator.h"
#include "./centipede/defs.h"
#include "./centipede/feature.h"
#include "./centipede/foreach_nonzero.h"
#include "./centipede/int_utils.h"
#include "./centipede/pc_info.h"
#include "./centipede/runner_dl_info.h"
#include "./centipede/runner_interface.h"
Expand Down
1 change: 1 addition & 0 deletions centipede/runner_sancov.cc
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
#include <cstdio>

#include "./centipede/feature.h"
#include "./centipede/int_utils.h"
#include "./centipede/pc_info.h"
#include "./centipede/reverse_pc_table.h"
#include "./centipede/runner.h"
Expand Down

0 comments on commit 61dfbbc

Please sign in to comment.