Commit 9d05d379 by Dmitri Gribenko Committed by Copybara-Service

Include what you spell

PiperOrigin-RevId: 555894810
Change-Id: I349c94e7c6e7ba1dbd817aa8e4340c1dada84654
parent a2639e31
...@@ -710,7 +710,7 @@ cc_test( ...@@ -710,7 +710,7 @@ cc_test(
deps = [ deps = [
":raw_hash_set", ":raw_hash_set",
":tracked", ":tracked",
"//absl/base:core_headers", "//absl/base:config",
"@com_google_googletest//:gtest_main", "@com_google_googletest//:gtest_main",
], ],
) )
...@@ -741,9 +741,9 @@ cc_test( ...@@ -741,9 +741,9 @@ cc_test(
deps = [ deps = [
":layout", ":layout",
"//absl/base:config", "//absl/base:config",
"//absl/base:core_headers",
"//absl/log:check", "//absl/log:check",
"//absl/types:span", "//absl/types:span",
"//absl/utility",
"@com_google_googletest//:gtest_main", "@com_google_googletest//:gtest_main",
], ],
) )
......
...@@ -754,9 +754,9 @@ absl_cc_test( ...@@ -754,9 +754,9 @@ absl_cc_test(
COPTS COPTS
${ABSL_TEST_COPTS} ${ABSL_TEST_COPTS}
DEPS DEPS
absl::config
absl::raw_hash_set absl::raw_hash_set
absl::tracked absl::tracked
absl::core_headers
GTest::gmock_main GTest::gmock_main
) )
...@@ -789,8 +789,8 @@ absl_cc_test( ...@@ -789,8 +789,8 @@ absl_cc_test(
absl::layout absl::layout
absl::check absl::check
absl::config absl::config
absl::core_headers
absl::span absl::span
absl::utility
GTest::gmock_main GTest::gmock_main
) )
......
...@@ -19,8 +19,12 @@ ...@@ -19,8 +19,12 @@
#include <stddef.h> #include <stddef.h>
#include <cstdint> #include <cstdint>
#include <cstring>
#include <initializer_list>
#include <memory> #include <memory>
#include <sstream> #include <ostream>
#include <string>
#include <tuple>
#include <type_traits> #include <type_traits>
#include "gmock/gmock.h" #include "gmock/gmock.h"
...@@ -28,6 +32,7 @@ ...@@ -28,6 +32,7 @@
#include "absl/base/config.h" #include "absl/base/config.h"
#include "absl/log/check.h" #include "absl/log/check.h"
#include "absl/types/span.h" #include "absl/types/span.h"
#include "absl/utility/utility.h"
namespace absl { namespace absl {
ABSL_NAMESPACE_BEGIN ABSL_NAMESPACE_BEGIN
......
...@@ -12,10 +12,18 @@ ...@@ -12,10 +12,18 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
#include <cstddef>
#include <cstdint>
#include <functional>
#include <limits> #include <limits>
#include <scoped_allocator> #include <memory>
#include <ostream>
#include <set>
#include <type_traits>
#include <utility>
#include "gtest/gtest.h" #include "gtest/gtest.h"
#include "absl/base/config.h"
#include "absl/container/internal/raw_hash_set.h" #include "absl/container/internal/raw_hash_set.h"
#include "absl/container/internal/tracked.h" #include "absl/container/internal/tracked.h"
......
...@@ -266,8 +266,8 @@ cc_library( ...@@ -266,8 +266,8 @@ cc_library(
":reflection", ":reflection",
"//absl/base:config", "//absl/base:config",
"//absl/base:core_headers", "//absl/base:core_headers",
"//absl/container:flat_hash_map",
"//absl/strings", "//absl/strings",
"//absl/synchronization",
], ],
) )
......
...@@ -243,7 +243,6 @@ absl_cc_library( ...@@ -243,7 +243,6 @@ absl_cc_library(
absl::flags_private_handle_accessor absl::flags_private_handle_accessor
absl::flags_program_name absl::flags_program_name
absl::flags_reflection absl::flags_reflection
absl::flat_hash_map
absl::strings absl::strings
absl::synchronization absl::synchronization
) )
......
...@@ -27,7 +27,10 @@ ...@@ -27,7 +27,10 @@
#include <utility> #include <utility>
#include <vector> #include <vector>
#include "absl/base/attributes.h"
#include "absl/base/config.h" #include "absl/base/config.h"
#include "absl/base/const_init.h"
#include "absl/base/thread_annotations.h"
#include "absl/flags/commandlineflag.h" #include "absl/flags/commandlineflag.h"
#include "absl/flags/flag.h" #include "absl/flags/flag.h"
#include "absl/flags/internal/flag.h" #include "absl/flags/internal/flag.h"
...@@ -40,6 +43,8 @@ ...@@ -40,6 +43,8 @@
#include "absl/strings/str_cat.h" #include "absl/strings/str_cat.h"
#include "absl/strings/str_split.h" #include "absl/strings/str_split.h"
#include "absl/strings/string_view.h" #include "absl/strings/string_view.h"
#include "absl/strings/strip.h"
#include "absl/synchronization/mutex.h"
// Dummy global variables to prevent anyone else defining these. // Dummy global variables to prevent anyone else defining these.
bool FLAGS_help = false; bool FLAGS_help = false;
......
...@@ -85,9 +85,13 @@ cc_test( ...@@ -85,9 +85,13 @@ cc_test(
"//absl/container:flat_hash_set", "//absl/container:flat_hash_set",
"//absl/container:node_hash_map", "//absl/container:node_hash_map",
"//absl/container:node_hash_set", "//absl/container:node_hash_set",
"//absl/memory",
"//absl/meta:type_traits", "//absl/meta:type_traits",
"//absl/numeric:int128", "//absl/numeric:int128",
"//absl/strings:cord_test_helpers", "//absl/strings:cord_test_helpers",
"//absl/strings:string_view",
"//absl/types:optional",
"//absl/types:variant",
"@com_google_googletest//:gtest_main", "@com_google_googletest//:gtest_main",
], ],
) )
......
...@@ -68,18 +68,22 @@ absl_cc_test( ...@@ -68,18 +68,22 @@ absl_cc_test(
COPTS COPTS
${ABSL_TEST_COPTS} ${ABSL_TEST_COPTS}
DEPS DEPS
absl::btree
absl::cord_test_helpers absl::cord_test_helpers
absl::hash
absl::hash_testing
absl::core_headers absl::core_headers
absl::btree
absl::flat_hash_map absl::flat_hash_map
absl::flat_hash_set absl::flat_hash_set
absl::hash
absl::hash_testing
absl::int128
absl::memory
absl::meta
absl::node_hash_map absl::node_hash_map
absl::node_hash_set absl::node_hash_set
absl::optional
absl::spy_hash_state absl::spy_hash_state
absl::meta absl::string_view
absl::int128 absl::variant
GTest::gmock_main GTest::gmock_main
) )
......
...@@ -12,7 +12,13 @@ ...@@ -12,7 +12,13 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
#include <algorithm>
#include <cassert>
#include <cstddef>
#include <cstdint>
#include <cstring>
#include <string> #include <string>
#include <tuple>
#include <type_traits> #include <type_traits>
#include <typeindex> #include <typeindex>
#include <utility> #include <utility>
......
...@@ -17,42 +17,36 @@ ...@@ -17,42 +17,36 @@
#include <algorithm> #include <algorithm>
#include <array> #include <array>
#include <bitset> #include <bitset>
#include <cstddef>
#include <cstdint> #include <cstdint>
#include <cstdlib>
#include <cstring> #include <cstring>
#include <deque>
#include <forward_list>
#include <functional> #include <functional>
#include <initializer_list> #include <initializer_list>
#include <iterator> #include <ios>
#include <limits> #include <limits>
#include <list>
#include <map>
#include <memory> #include <memory>
#include <numeric> #include <ostream>
#include <random>
#include <set> #include <set>
#include <string> #include <string>
#include <tuple> #include <tuple>
#include <type_traits> #include <type_traits>
#include <unordered_map> #include <unordered_map>
#include <unordered_set>
#include <utility> #include <utility>
#include <vector> #include <vector>
#include "gmock/gmock.h"
#include "gtest/gtest.h" #include "gtest/gtest.h"
#include "absl/container/btree_map.h" #include "absl/base/config.h"
#include "absl/container/btree_set.h"
#include "absl/container/flat_hash_map.h"
#include "absl/container/flat_hash_set.h" #include "absl/container/flat_hash_set.h"
#include "absl/container/node_hash_map.h"
#include "absl/container/node_hash_set.h"
#include "absl/hash/hash_testing.h" #include "absl/hash/hash_testing.h"
#include "absl/hash/internal/hash_test.h" #include "absl/hash/internal/hash_test.h"
#include "absl/hash/internal/spy_hash_state.h" #include "absl/hash/internal/spy_hash_state.h"
#include "absl/memory/memory.h"
#include "absl/meta/type_traits.h" #include "absl/meta/type_traits.h"
#include "absl/numeric/int128.h"
#include "absl/strings/cord_test_helpers.h" #include "absl/strings/cord_test_helpers.h"
#include "absl/strings/string_view.h"
#include "absl/types/optional.h"
#include "absl/types/variant.h"
#ifdef ABSL_HAVE_STD_STRING_VIEW #ifdef ABSL_HAVE_STD_STRING_VIEW
#include <string_view> #include <string_view>
......
...@@ -55,8 +55,7 @@ ...@@ -55,8 +55,7 @@
#include <algorithm> #include <algorithm>
#include <cassert> #include <cassert>
#include <cctype> #include <chrono> // NOLINT(build/c++11)
#include <cerrno>
#include <cmath> #include <cmath>
#include <cstdint> #include <cstdint>
#include <cstdlib> #include <cstdlib>
...@@ -66,8 +65,9 @@ ...@@ -66,8 +65,9 @@
#include <limits> #include <limits>
#include <string> #include <string>
#include "absl/base/attributes.h"
#include "absl/base/casts.h" #include "absl/base/casts.h"
#include "absl/base/macros.h" #include "absl/base/config.h"
#include "absl/numeric/int128.h" #include "absl/numeric/int128.h"
#include "absl/strings/string_view.h" #include "absl/strings/string_view.h"
#include "absl/strings/strip.h" #include "absl/strings/strip.h"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment