Skip to content

Commit e372741

Browse files
tonyliaosscopybara-github
authored andcommitted
Removing unused headers 💀
PiperOrigin-RevId: 692176268
1 parent a88dc0c commit e372741

File tree

4 files changed

+1
-6
lines changed

4 files changed

+1
-6
lines changed

src/google/protobuf/compiler/cpp/message.cc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
#include <iterator>
2020
#include <limits>
2121
#include <memory>
22-
#include <new>
2322
#include <string>
2423
#include <utility>
2524
#include <vector>

src/google/protobuf/descriptor.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,9 @@
3939
#include <utility>
4040
#include <vector>
4141

42-
#include "google/protobuf/stubs/common.h"
4342
#include "absl/base/attributes.h"
4443
#include "absl/base/call_once.h"
4544
#include "absl/base/optimization.h"
46-
#include "absl/container/btree_map.h"
4745
#include "absl/container/flat_hash_map.h"
4846
#include "absl/functional/any_invocable.h"
4947
#include "absl/functional/function_ref.h"
@@ -52,7 +50,6 @@
5250
#include "absl/strings/str_format.h"
5351
#include "absl/strings/string_view.h"
5452
#include "absl/synchronization/mutex.h"
55-
#include "absl/types/optional.h"
5653
#include "google/protobuf/descriptor_lite.h"
5754
#include "google/protobuf/extension_set.h"
5855
#include "google/protobuf/port.h"

src/google/protobuf/dynamic_message.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
#include "google/protobuf/generated_message_util.h"
6565
#include "google/protobuf/map.h"
6666
#include "google/protobuf/map_field.h"
67-
#include "google/protobuf/map_field_inl.h"
67+
#include "google/protobuf/map_field_inl.h" // IWYU pragma: keep
6868
#include "google/protobuf/message_lite.h"
6969
#include "google/protobuf/port.h"
7070
#include "google/protobuf/repeated_field.h"

src/google/protobuf/generated_message_reflection.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
#include "absl/log/absl_check.h"
2525
#include "google/protobuf/descriptor.h"
2626
#include "google/protobuf/generated_enum_reflection.h"
27-
#include "google/protobuf/port.h"
2827
#include "google/protobuf/unknown_field_set.h"
2928

3029
// Must be included last.

0 commit comments

Comments
 (0)