Minor cleanup: IWYU, remove redundant header from any.cc

PiperOrigin-RevId: 663398458
pull/17827/head
Protobuf Team Bot 3 months ago committed by Copybara-Service
parent 5cd9a463f9
commit cfaac886c6
  1. 2
      src/google/protobuf/any.cc
  2. 1
      src/google/protobuf/any.h
  3. 6
      src/google/protobuf/any_lite.cc
  4. 7
      src/google/protobuf/any_test.cc

@ -7,7 +7,7 @@
#include "google/protobuf/any.h"
#include "google/protobuf/arenastring.h"
#include "absl/strings/string_view.h"
#include "google/protobuf/descriptor.h"
#include "google/protobuf/generated_message_util.h"
#include "google/protobuf/message.h"

@ -10,6 +10,7 @@
#include <string>
#include "absl/strings/string_view.h"
#include "google/protobuf/port.h"
#include "google/protobuf/arenastring.h"
#include "google/protobuf/message_lite.h"

@ -5,12 +5,16 @@
// license that can be found in the LICENSE file or at
// https://developers.google.com/open-source/licenses/bsd
#include <cstdlib>
#include <string>
#include "absl/strings/match.h"
#include "absl/strings/str_cat.h"
#include "absl/strings/string_view.h"
#include "google/protobuf/any.h"
#include "google/protobuf/arenastring.h"
#include "google/protobuf/generated_message_util.h"
#include "google/protobuf/io/zero_copy_stream_impl_lite.h"
#include "google/protobuf/message_lite.h"
namespace google {
namespace protobuf {

@ -5,9 +5,14 @@
// license that can be found in the LICENSE file or at
// https://developers.google.com/open-source/licenses/bsd
#include <limits.h>
#include <cstdlib>
#include <string>
#include <utility>
#include "google/protobuf/any.pb.h"
#include <gtest/gtest.h>
#include "absl/strings/str_cat.h"
#include "google/protobuf/any_test.pb.h"
#include "google/protobuf/unittest.pb.h"

Loading…
Cancel
Save