diff --git a/src/google/protobuf/compiler/cpp/message.cc b/src/google/protobuf/compiler/cpp/message.cc index a7078256da..d7bbc20175 100644 --- a/src/google/protobuf/compiler/cpp/message.cc +++ b/src/google/protobuf/compiler/cpp/message.cc @@ -19,7 +19,6 @@ #include #include #include -#include #include #include #include diff --git a/src/google/protobuf/descriptor.h b/src/google/protobuf/descriptor.h index 3bc2a1b5e2..068b918de0 100644 --- a/src/google/protobuf/descriptor.h +++ b/src/google/protobuf/descriptor.h @@ -39,11 +39,9 @@ #include #include -#include "google/protobuf/stubs/common.h" #include "absl/base/attributes.h" #include "absl/base/call_once.h" #include "absl/base/optimization.h" -#include "absl/container/btree_map.h" #include "absl/container/flat_hash_map.h" #include "absl/functional/any_invocable.h" #include "absl/functional/function_ref.h" @@ -52,7 +50,6 @@ #include "absl/strings/str_format.h" #include "absl/strings/string_view.h" #include "absl/synchronization/mutex.h" -#include "absl/types/optional.h" #include "google/protobuf/descriptor_lite.h" #include "google/protobuf/extension_set.h" #include "google/protobuf/port.h" diff --git a/src/google/protobuf/dynamic_message.cc b/src/google/protobuf/dynamic_message.cc index 5c403716d6..937894bb00 100644 --- a/src/google/protobuf/dynamic_message.cc +++ b/src/google/protobuf/dynamic_message.cc @@ -64,7 +64,7 @@ #include "google/protobuf/generated_message_util.h" #include "google/protobuf/map.h" #include "google/protobuf/map_field.h" -#include "google/protobuf/map_field_inl.h" +#include "google/protobuf/map_field_inl.h" // IWYU pragma: keep #include "google/protobuf/message_lite.h" #include "google/protobuf/port.h" #include "google/protobuf/repeated_field.h" diff --git a/src/google/protobuf/generated_message_reflection.h b/src/google/protobuf/generated_message_reflection.h index ef08dc77de..79e4c060d9 100644 --- a/src/google/protobuf/generated_message_reflection.h +++ b/src/google/protobuf/generated_message_reflection.h @@ -24,7 +24,6 @@ #include "absl/log/absl_check.h" #include "google/protobuf/descriptor.h" #include "google/protobuf/generated_enum_reflection.h" -#include "google/protobuf/port.h" #include "google/protobuf/unknown_field_set.h" // Must be included last.