[iwyu] Better handle <type_traits> (#30349)

* update mapping

* run tool

* Automated change: Fix sanity tests

* fix

Co-authored-by: ctiller <ctiller@users.noreply.github.com>
pull/30358/head
Craig Tiller 3 years ago committed by GitHub
parent df52004032
commit 0450157e06
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      src/core/ext/filters/client_channel/lb_policy.h
  2. 1
      src/core/ext/filters/client_channel/lb_policy/ring_hash/ring_hash.cc
  3. 1
      src/core/ext/filters/client_channel/resolver/binder/binder_resolver.cc
  4. 1
      src/core/ext/filters/client_channel/resolver/dns/c_ares/dns_resolver_ares.cc
  5. 1
      src/core/ext/filters/client_channel/resolver/google_c2p/google_c2p_resolver.cc
  6. 1
      src/core/ext/filters/client_channel/resolver/sockaddr/sockaddr_resolver.cc
  7. 1
      src/core/ext/filters/client_channel/resolver/xds/xds_resolver.cc
  8. 1
      src/core/ext/filters/client_channel/subchannel.cc
  9. 1
      src/core/ext/filters/fault_injection/fault_injection_filter.cc
  10. 1
      src/core/ext/filters/fault_injection/service_config_parser.cc
  11. 1
      src/core/ext/filters/server_config_selector/server_config_selector_filter.cc
  12. 1
      src/core/ext/xds/xds_cluster.cc
  13. 1
      src/core/ext/xds/xds_endpoint.cc
  14. 1
      src/core/ext/xds/xds_http_rbac_filter.cc
  15. 1
      src/core/ext/xds/xds_lb_policy_registry.cc
  16. 1
      src/core/ext/xds/xds_listener.cc
  17. 1
      src/core/ext/xds/xds_route_config.cc
  18. 1
      src/core/lib/channel/channel_args.h
  19. 1
      src/core/lib/channel/channelz.cc
  20. 1
      src/core/lib/channel/promise_based_filter.h
  21. 1
      src/core/lib/event_engine/iomgr_engine/timer.cc
  22. 1
      src/core/lib/gprpp/manual_constructor.h
  23. 1
      src/core/lib/gprpp/ref_counted_ptr.h
  24. 1
      src/core/lib/gprpp/table.h
  25. 1
      src/core/lib/promise/arena_promise.h
  26. 1
      src/core/lib/promise/context.h
  27. 1
      src/core/lib/promise/detail/basic_join.h
  28. 1
      src/core/lib/promise/detail/basic_seq.h
  29. 1
      src/core/lib/promise/detail/promise_factory.h
  30. 1
      src/core/lib/promise/for_each.h
  31. 1
      src/core/lib/promise/map.h
  32. 1
      src/core/lib/promise/try_seq.h
  33. 1
      src/core/lib/resource_quota/memory_quota.cc
  34. 1
      src/core/lib/security/authorization/rbac_policy.cc
  35. 1
      src/core/lib/security/authorization/rbac_translator.cc
  36. 1
      src/core/lib/security/credentials/plugin/plugin_credentials.cc
  37. 1
      src/core/lib/slice/percent_encoding.cc
  38. 1
      src/core/lib/transport/connectivity_state.cc
  39. 1
      src/core/lib/transport/metadata_batch.h
  40. 1
      src/core/lib/transport/parsed_metadata.h
  41. 1
      src/cpp/server/orca/orca_interceptor.cc
  42. 1
      src/cpp/server/server_cc.cc
  43. 2
      test/core/promise/promise_test.cc
  44. 2
      test/core/promise/sleep_test.cc
  45. 1
      tools/distrib/iwyu_mappings.imp

@ -24,7 +24,6 @@
#include <memory>
#include <string>
#include <type_traits>
#include <utility>
#include <vector>

@ -27,7 +27,6 @@
#include <map>
#include <memory>
#include <string>
#include <type_traits>
#include <utility>
#include <vector>

@ -26,7 +26,6 @@
#include <memory>
#include <string>
#include <type_traits>
#include <utility>
#include "absl/memory/memory.h"

@ -24,7 +24,6 @@
#include <map>
#include <memory>
#include <string>
#include <type_traits>
#include <utility>
#include <vector>

@ -23,7 +23,6 @@
#include <memory>
#include <random>
#include <string>
#include <type_traits>
#include <utility>
#include "absl/memory/memory.h"

@ -19,7 +19,6 @@
#include <algorithm>
#include <memory>
#include <string>
#include <type_traits>
#include <utility>
#include "absl/memory/memory.h"

@ -24,7 +24,6 @@
#include <map>
#include <memory>
#include <string>
#include <type_traits>
#include <utility>
#include <vector>

@ -24,7 +24,6 @@
#include <algorithm>
#include <memory>
#include <new>
#include <type_traits>
#include <utility>
#include "absl/status/statusor.h"

@ -25,7 +25,6 @@
#include <atomic>
#include <functional>
#include <string>
#include <type_traits>
#include <utility>
#include "absl/status/status.h"

@ -19,7 +19,6 @@
#include "src/core/ext/filters/fault_injection/service_config_parser.h"
#include <algorithm>
#include <type_traits>
#include <vector>
#include "absl/memory/memory.h"

@ -18,7 +18,6 @@
#include <functional>
#include <memory>
#include <type_traits>
#include <utility>
#include "absl/base/thread_annotations.h"

@ -20,7 +20,6 @@
#include <stddef.h>
#include <type_traits>
#include <utility>
#include "absl/memory/memory.h"

@ -21,7 +21,6 @@
#include <stdlib.h>
#include <algorithm>
#include <type_traits>
#include <vector>
#include "absl/memory/memory.h"

@ -24,7 +24,6 @@
#include <cstdint>
#include <map>
#include <string>
#include <type_traits>
#include <utility>
#include <vector>

@ -21,7 +21,6 @@
#include <stddef.h>
#include <string>
#include <type_traits>
#include <utility>
#include <vector>

@ -21,7 +21,6 @@
#include <stdint.h>
#include <set>
#include <type_traits>
#include <utility>
#include "absl/memory/memory.h"

@ -25,7 +25,6 @@
#include <memory>
#include <set>
#include <string>
#include <type_traits>
#include <utility>
#include <vector>

@ -27,7 +27,6 @@
#include <iosfwd>
#include <memory>
#include <string>
#include <type_traits>
#include <utility>
#include "absl/meta/type_traits.h"

@ -23,7 +23,6 @@
#include <algorithm>
#include <atomic>
#include <memory>
#include <type_traits>
#include "absl/status/statusor.h"
#include "absl/strings/escaping.h"

@ -26,7 +26,6 @@
#include <atomic>
#include <new>
#include <type_traits>
#include <utility>
#include "absl/container/inlined_vector.h"

@ -23,7 +23,6 @@
#include <algorithm>
#include <atomic>
#include <limits>
#include <type_traits>
#include <utility>
#include <grpc/support/cpu.h>

@ -25,7 +25,6 @@
#include <stddef.h>
#include <type_traits>
#include <utility>
#include "src/core/lib/gprpp/construct_destruct.h"

@ -22,7 +22,6 @@
#include <grpc/support/port_platform.h>
#include <iosfwd>
#include <type_traits>
#include <utility>
#include "src/core/lib/gprpp/debug_location.h"

@ -21,7 +21,6 @@
#include <initializer_list>
#include <new>
#include <type_traits>
#include <utility>
#include "absl/meta/type_traits.h"

@ -19,7 +19,6 @@
#include <stdlib.h>
#include <type_traits>
#include <utility>
#include "absl/meta/type_traits.h"

@ -17,7 +17,6 @@
#include <grpc/support/port_platform.h>
#include <type_traits>
#include <utility>
#include "src/core/lib/gpr/tls.h"

@ -22,7 +22,6 @@
#include <array>
#include <tuple>
#include <type_traits>
#include <utility>
#include "absl/types/variant.h"

@ -21,7 +21,6 @@
#include <cassert>
#include <new>
#include <tuple>
#include <type_traits>
#include <utility>
#include "absl/meta/type_traits.h"

@ -17,7 +17,6 @@
#include <grpc/support/port_platform.h>
#include <type_traits>
#include <utility>
#include "absl/meta/type_traits.h"

@ -17,7 +17,6 @@
#include <grpc/support/port_platform.h>
#include <type_traits>
#include <utility>
#include "absl/status/status.h"

@ -20,7 +20,6 @@
#include <stddef.h>
#include <tuple>
#include <type_traits>
#include <utility>
#include "absl/types/variant.h"

@ -17,7 +17,6 @@
#include <grpc/support/port_platform.h>
#include <type_traits>
#include <utility>
#include "absl/meta/type_traits.h"

@ -21,7 +21,6 @@
#include <algorithm>
#include <atomic>
#include <tuple>
#include <type_traits>
#include "absl/status/status.h"
#include "absl/strings/str_cat.h"

@ -17,7 +17,6 @@
#include "src/core/lib/security/authorization/rbac_policy.h"
#include <algorithm>
#include <type_traits>
#include <utility>
#include "absl/memory/memory.h"

@ -22,7 +22,6 @@
#include <map>
#include <memory>
#include <string>
#include <type_traits>
#include <utility>
#include <vector>

@ -21,7 +21,6 @@
#include "src/core/lib/security/credentials/plugin/plugin_credentials.h"
#include <atomic>
#include <type_traits>
#include "absl/status/status.h"
#include "absl/strings/str_cat.h"

@ -23,7 +23,6 @@
#include <stdlib.h>
#include <cstdint>
#include <type_traits>
#include <utility>
#include <grpc/support/log.h>

@ -21,7 +21,6 @@
#include "src/core/lib/transport/connectivity_state.h"
#include <string>
#include <type_traits>
#include <grpc/support/log.h>

@ -25,7 +25,6 @@
#include <cstdint>
#include <string>
#include <type_traits>
#include <utility>
#include "absl/container/inlined_vector.h"

@ -21,7 +21,6 @@
#include <cstdint>
#include <string>
#include <type_traits>
#include <utility>
#include "absl/functional/function_ref.h"

@ -20,7 +20,6 @@
#include <map>
#include <memory>
#include <string>
#include <type_traits>
#include <utility>
#include <vector>

@ -25,7 +25,6 @@
#include <new>
#include <sstream>
#include <string>
#include <type_traits>
#include <utility>
#include <vector>

@ -14,6 +14,8 @@
#include "src/core/lib/promise/promise.h"
#include <type_traits>
#include "gtest/gtest.h"
namespace grpc_core {

@ -14,8 +14,6 @@
#include "src/core/lib/promise/sleep.h"
#include <type_traits>
#include "absl/synchronization/notification.h"
#include "gtest/gtest.h"

@ -4,6 +4,7 @@
{ include: ["<sys/socket.h>", "public", "\"src/core/lib/iomgr/sockaddr.h\"", "public"]},
{ include: ["<openssl/base.h>", "private", "<openssl/crypto.h>", "public"] },
{ include: ["<openssl/digest.h>", "private", "<openssl/evp.h>", "public"] },
{ include: ["<type_traits>", "public", "<utility>", "public" ] },
# workaround: https://github.com/include-what-you-use/include-what-you-use/issues/908
{ symbol: ["std::max", "private", "<algorithm>", "public" ] },
]

Loading…
Cancel
Save