From 60e856c553f4532c2035b087dbdbdde42dbb5f09 Mon Sep 17 00:00:00 2001 From: Stephan Hartmann Date: Sat, 9 May 2020 11:33:04 +0000 Subject: [PATCH] IWYU: memcpy is defined in cstring --- cc/base/list_container_helper.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/cc/base/list_container_helper.cc b/cc/base/list_container_helper.cc index afd386e..7b594b4 100644 --- a/cc/base/list_container_helper.cc +++ b/cc/base/list_container_helper.cc @@ -7,6 +7,7 @@ #include #include +#include #include #include "base/check_op.h" -- 2.26.2 From 5e20370e4bc1fd3beaa9af62fe27aaedb903bacf Mon Sep 17 00:00:00 2001 From: Piotr Tworek Date: Tue, 05 May 2020 06:06:35 +0000 Subject: [PATCH] Add missing bitset include in web_touch_event.cc. The code uses std::bitset, but does not include header declaring it. It works when using bundled copy of libcxx, but fails when using system libstdc++ on Linux. Change-Id: I8a88078e110b27623b3cdea38c94012ba4050ee7 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2179123 Reviewed-by: Jeremy Roman Commit-Queue: Piotr Tworek Cr-Commit-Position: refs/heads/master@{#765415} --- diff --git a/third_party/blink/common/input/web_touch_event.cc b/third_party/blink/common/input/web_touch_event.cc index 7ef37fec..aa054f9 100644 --- a/third_party/blink/common/input/web_touch_event.cc +++ b/third_party/blink/common/input/web_touch_event.cc @@ -2,6 +2,8 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +#include + #include "third_party/blink/public/common/input/web_touch_event.h" namespace blink { From effd506ce070d58e731bd6086681b9cded8573ed Mon Sep 17 00:00:00 2001 From: Stephan Hartmann Date: Sun, 10 May 2020 07:24:38 +0000 Subject: [PATCH] IWYU: add a bunch of missing cstring includes --- .../crashpad/snapshot/minidump/minidump_context_converter.cc | 2 ++ third_party/crashpad/crashpad/util/linux/ptrace_client.cc | 1 + .../crashpad/crashpad/util/net/http_multipart_builder.cc | 1 + third_party/crashpad/crashpad/util/net/http_transport_socket.cc | 2 ++ third_party/crashpad/crashpad/util/process/process_memory.cc | 1 + third_party/crashpad/crashpad/util/stream/log_output_stream.cc | 1 + 6 files changed, 8 insertions(+) diff --git a/third_party/crashpad/crashpad/snapshot/minidump/minidump_context_converter.cc b/third_party/crashpad/crashpad/snapshot/minidump/minidump_context_converter.cc index 0c840deac..1d163b42f 100644 --- a/third_party/crashpad/crashpad/snapshot/minidump/minidump_context_converter.cc +++ b/third_party/crashpad/crashpad/snapshot/minidump/minidump_context_converter.cc @@ -14,6 +14,8 @@ #include "snapshot/minidump/minidump_context_converter.h" +#include + #include "base/stl_util.h" #include "minidump/minidump_context.h" diff --git a/third_party/crashpad/crashpad/util/linux/ptrace_client.cc b/third_party/crashpad/crashpad/util/linux/ptrace_client.cc index f097ad985..e91ce2eca 100644 --- a/third_party/crashpad/crashpad/util/linux/ptrace_client.cc +++ b/third_party/crashpad/crashpad/util/linux/ptrace_client.cc @@ -17,6 +17,7 @@ #include #include +#include #include #include "base/logging.h" diff --git a/third_party/crashpad/crashpad/util/net/http_multipart_builder.cc b/third_party/crashpad/crashpad/util/net/http_multipart_builder.cc index 267960b27..8ed7edc2f 100644 --- a/third_party/crashpad/crashpad/util/net/http_multipart_builder.cc +++ b/third_party/crashpad/crashpad/util/net/http_multipart_builder.cc @@ -16,6 +16,7 @@ #include +#include #include #include diff --git a/third_party/crashpad/crashpad/util/net/http_transport_socket.cc b/third_party/crashpad/crashpad/util/net/http_transport_socket.cc index 4dd01b6e7..60cd60c17 100644 --- a/third_party/crashpad/crashpad/util/net/http_transport_socket.cc +++ b/third_party/crashpad/crashpad/util/net/http_transport_socket.cc @@ -19,6 +19,8 @@ #include #include +#include + #include "base/logging.h" #include "base/macros.h" #include "base/numerics/safe_conversions.h" diff --git a/third_party/crashpad/crashpad/util/process/process_memory.cc b/third_party/crashpad/crashpad/util/process/process_memory.cc index ab87b940f..e02bcea81 100644 --- a/third_party/crashpad/crashpad/util/process/process_memory.cc +++ b/third_party/crashpad/crashpad/util/process/process_memory.cc @@ -15,6 +15,7 @@ #include "util/process/process_memory.h" #include +#include #include "base/logging.h" #include "util/numeric/safe_assignment.h" diff --git a/third_party/crashpad/crashpad/util/stream/log_output_stream.cc b/third_party/crashpad/crashpad/util/stream/log_output_stream.cc index 03c0a5a02..45d823aa4 100644 --- a/third_party/crashpad/crashpad/util/stream/log_output_stream.cc +++ b/third_party/crashpad/crashpad/util/stream/log_output_stream.cc @@ -15,6 +15,7 @@ #include "util/stream/log_output_stream.h" #include +#include #include "base/logging.h" -- 2.26.2