Do IWYU for check_op.h

Include check_op.h directly, instead of relying on the transitive
include from logging.h. This transitive include does not exist in
Chromium's //base.

Change-Id: I15962a9cdc26ac206032157b8d2659cf263ad695
Reviewed-on: https://chromium-review.googlesource.com/c/crashpad/crashpad/+/4950200
Reviewed-by: Mark Mentovai <mark@chromium.org>
Commit-Queue: Lei Zhang <thestig@chromium.org>
This commit is contained in:
Lei Zhang 2023-10-18 12:08:10 -07:00 committed by Crashpad LUCI CQ
parent ce4e3d6ee0
commit c63c073d27
58 changed files with 61 additions and 1 deletions

View File

@ -22,6 +22,7 @@
#include <tuple>
#include <utility>
#include "base/check_op.h"
#include "base/logging.h"
#include "build/build_config.h"
#include "client/settings.h"

View File

@ -25,6 +25,7 @@
#include <tuple>
#include <utility>
#include "base/check_op.h"
#include "base/logging.h"
#include "base/numerics/safe_math.h"
#include "base/strings/utf_string_conversions.h"

View File

@ -20,6 +20,7 @@
#include <lib/zx/process.h>
#include <zircon/processargs.h>
#include "base/check_op.h"
#include "base/fuchsia/fuchsia_logging.h"
#include "base/logging.h"
#include "client/client_argv_handling.h"

View File

@ -30,6 +30,7 @@
#include <atomic>
#include "base/check_op.h"
#include "base/logging.h"
#include "base/strings/stringprintf.h"
#include "build/build_config.h"

View File

@ -25,6 +25,7 @@
#include <utility>
#include "base/apple/mach_logging.h"
#include "base/check_op.h"
#include "base/logging.h"
#include "base/strings/stringprintf.h"
#include "util/mac/mac_util.h"

View File

@ -25,6 +25,7 @@
#include <memory>
#include "base/atomicops.h"
#include "base/check_op.h"
#include "base/logging.h"
#include "base/scoped_generic.h"
#include "base/strings/stringprintf.h"

View File

@ -24,6 +24,7 @@
#include <iterator>
#include <optional>
#include "base/check_op.h"
#include "build/build_config.h"
#include "snapshot/snapshot_constants.h"
#include "util/ios/ios_intermediate_dump_writer.h"

View File

@ -25,6 +25,7 @@
#include <utility>
#include "base/check_op.h"
#include "base/compiler_specific.h"
#include "base/logging.h"
#include "base/posix/eintr_wrapper.h"

View File

@ -16,6 +16,7 @@
#include <memory>
#include "base/check_op.h"
#include "base/logging.h"
#include "util/file/file_writer.h"
#include "util/numeric/safe_assignment.h"

View File

@ -14,6 +14,7 @@
#include "minidump/minidump_byte_array_writer.h"
#include "base/check_op.h"
#include "base/logging.h"
#include "util/file/file_writer.h"
#include "util/numeric/safe_assignment.h"

View File

@ -19,6 +19,7 @@
#include <stdint.h>
#include <string.h>
#include "base/check_op.h"
#include "base/compiler_specific.h"
#include "base/logging.h"
#include "build/build_config.h"

View File

@ -16,6 +16,7 @@
#include <utility>
#include "base/check_op.h"
#include "base/logging.h"
#include "minidump/minidump_crashpad_info_writer.h"
#include "minidump/minidump_exception_writer.h"

View File

@ -16,6 +16,7 @@
#include <string>
#include "base/check_op.h"
#include "base/logging.h"
#include "minidump/minidump_extensions.h"
#include "util/file/file_writer.h"

View File

@ -19,6 +19,7 @@
#include <utility>
#include "base/auto_reset.h"
#include "base/check_op.h"
#include "base/logging.h"
#include "util/file/file_writer.h"
#include "util/numeric/safe_assignment.h"

View File

@ -16,6 +16,7 @@
#include <utility>
#include "base/check_op.h"
#include "base/logging.h"
#include "minidump/minidump_annotation_writer.h"
#include "minidump/minidump_simple_string_dictionary_writer.h"

View File

@ -19,6 +19,7 @@
#include <limits>
#include <utility>
#include "base/check_op.h"
#include "base/logging.h"
#include "base/numerics/safe_conversions.h"
#include "minidump/minidump_string_writer.h"

View File

@ -16,6 +16,7 @@
#include <utility>
#include "base/check_op.h"
#include "base/logging.h"
#include "util/file/file_writer.h"
#include "util/numeric/safe_assignment.h"

View File

@ -16,6 +16,7 @@
#include <utility>
#include "base/check_op.h"
#include "base/logging.h"
#include "util/file/file_writer.h"
#include "util/numeric/safe_assignment.h"

View File

@ -16,6 +16,7 @@
#include <utility>
#include "base/check_op.h"
#include "base/logging.h"
#include "minidump/minidump_writer_util.h"
#include "util/file/file_writer.h"

View File

@ -16,6 +16,7 @@
#include <utility>
#include "base/check_op.h"
#include "base/logging.h"
#include "minidump/minidump_thread_id_map.h"
#include "snapshot/thread_snapshot.h"

View File

@ -16,6 +16,7 @@
#include <utility>
#include "base/check_op.h"
#include "base/logging.h"
#include "minidump/minidump_context_writer.h"
#include "minidump/minidump_memory_writer.h"

View File

@ -17,6 +17,7 @@
#include <limits>
#include <utility>
#include "base/check_op.h"
#include "minidump/minidump_writer_util.h"
#include "util/file/file_writer.h"
#include "util/numeric/in_range_cast.h"

View File

@ -18,6 +18,7 @@
#include <iterator>
#include "base/check_op.h"
#include "base/logging.h"
#include "util/file/file_writer.h"
#include "util/numeric/safe_assignment.h"

View File

@ -21,6 +21,7 @@
#include <utility>
#include <vector>
#include "base/check_op.h"
#include "base/logging.h"
#include "base/numerics/safe_math.h"
#include "build/build_config.h"

View File

@ -18,6 +18,7 @@
#include <link.h>
#include <zircon/syscalls.h>
#include "base/check_op.h"
#include "base/fuchsia/fuchsia_logging.h"
#include "base/logging.h"
#include "util/fuchsia/koid_utilities.h"

View File

@ -15,6 +15,7 @@
#include "snapshot/ios/exception_snapshot_ios_intermediate_dump.h"
#include "base/apple/mach_logging.h"
#include "base/check_op.h"
#include "base/logging.h"
#include "snapshot/cpu_context.h"
#include "snapshot/ios/intermediate_dump_reader_util.h"

View File

@ -14,6 +14,8 @@
#include "snapshot/ios/memory_snapshot_ios_intermediate_dump.h"
#include "base/check_op.h"
namespace crashpad {
namespace internal {

View File

@ -20,6 +20,7 @@
#include <algorithm>
#include "base/check_op.h"
#include "base/files/file_path.h"
#include "base/logging.h"
#include "base/notreached.h"

View File

@ -22,6 +22,7 @@
#include <limits>
#include <utility>
#include "base/check_op.h"
#include "base/logging.h"
#include "base/strings/stringprintf.h"
#include "client/crashpad_info.h"

View File

@ -20,6 +20,7 @@
#include <utility>
#include "base/check_op.h"
#include "base/logging.h"
#include "base/strings/stringprintf.h"
#include "build/build_config.h"

View File

@ -24,6 +24,7 @@
#include "base/apple/mach_logging.h"
#include "base/apple/scoped_mach_port.h"
#include "base/apple/scoped_mach_vm.h"
#include "base/check_op.h"
#include "base/logging.h"
#include "base/strings/stringprintf.h"
#include "snapshot/mac/mach_o_image_reader.h"

View File

@ -17,6 +17,7 @@
#include <stddef.h>
#include <string.h>
#include "base/check_op.h"
#include "base/logging.h"
#include "base/notreached.h"
#include "minidump/minidump_extensions.h"

View File

@ -19,6 +19,7 @@
#include <memory>
#include "base/check_op.h"
#include "base/notreached.h"
#include "base/numerics/safe_conversions.h"
#include "base/strings/utf_string_conversions.h"

View File

@ -17,9 +17,11 @@
#include <CoreFoundation/CoreFoundation.h>
#include <malloc/malloc.h>
#include <pthread.h>
#include <limits>
#include "base/apple/mach_logging.h"
#include "base/check_op.h"
#include "client/crashpad_client.h"
#include "util/ios/raw_logging.h"

View File

@ -24,6 +24,7 @@
#include <algorithm>
#include <limits>
#include "base/check_op.h"
#include "base/files/file_path.h"
#include "base/logging.h"
#include "base/notreached.h"

View File

@ -17,6 +17,7 @@
#include <algorithm>
#include <limits>
#include "base/check_op.h"
#include "base/files/file_path.h"
#include "base/logging.h"
#include "base/notreached.h"

View File

@ -14,6 +14,7 @@
#include "util/file/file_reader.h"
#include "base/check_op.h"
#include "base/logging.h"
#include "base/numerics/safe_conversions.h"
#include "build/build_config.h"

View File

@ -20,6 +20,7 @@
#include <algorithm>
#include "base/check_op.h"
#include "base/logging.h"
#include "base/numerics/safe_conversions.h"
#include "build/build_config.h"

View File

@ -19,6 +19,7 @@
#include <algorithm>
#include <limits>
#include "base/check_op.h"
#include "base/logging.h"
#include "base/numerics/safe_math.h"
#include "util/misc/implicit_cast.h"

View File

@ -21,6 +21,7 @@
#include <vector>
#include "base/check_op.h"
#include "base/fuchsia/fuchsia_logging.h"
#include "base/logging.h"
#include "util/fuchsia/koid_utilities.h"

View File

@ -23,6 +23,7 @@
#include <ostream>
#include "base/check.h"
#include "base/check_op.h"
#include "base/posix/eintr_wrapper.h"
#include "build/build_config.h"
#include "util/ios/raw_logging.h"

View File

@ -20,6 +20,7 @@
#include <sys/wait.h>
#include <unistd.h>
#include "base/check_op.h"
#include "base/logging.h"
#include "base/posix/eintr_wrapper.h"
#include "build/build_config.h"

View File

@ -19,6 +19,7 @@
#include <sys/sysmacros.h>
#include "base/bit_cast.h"
#include "base/check_op.h"
#include "base/files/file_path.h"
#include "base/logging.h"
#include "build/build_config.h"

View File

@ -18,6 +18,7 @@
#include <iterator>
#include "base/check_op.h"
#include "base/files/file_path.h"
#include "base/logging.h"
#include "base/strings/string_number_conversions.h"

View File

@ -21,6 +21,7 @@
#include <iterator>
#include <string>
#include "base/check_op.h"
#include "base/logging.h"
#include "base/strings/string_number_conversions.h"
#include "util/file/file_io.h"

View File

@ -20,6 +20,7 @@
#include <sys/ptrace.h>
#include <sys/uio.h>
#include "base/check_op.h"
#include "base/logging.h"
#include "build/build_config.h"
#include "util/misc/from_pointer_cast.h"

View File

@ -19,6 +19,7 @@
#include <sys/types.h>
#include <sys/xattr.h>
#include "base/check_op.h"
#include "base/logging.h"
#include "base/numerics/safe_conversions.h"
#include "base/strings/string_number_conversions.h"

View File

@ -20,6 +20,7 @@
#include "base/apple/mach_logging.h"
#include "base/apple/scoped_mach_vm.h"
#include "base/check_op.h"
#include "base/logging.h"
#include "util/mach/mach_message.h"

View File

@ -16,6 +16,7 @@
#include <utility>
#include "base/check_op.h"
#include "base/logging.h"
#include "base/numerics/safe_conversions.h"
#include "third_party/zlib/zlib_crashpad.h"

View File

@ -20,6 +20,7 @@
#include <iterator>
#include "base/check_op.h"
#include "base/logging.h"
#include "base/numerics/safe_conversions.h"
#include "base/posix/eintr_wrapper.h"

View File

@ -24,6 +24,7 @@
#include <iterator>
#include "base/check_op.h"
#include "base/logging.h"
#include "base/numerics/safe_conversions.h"
#include "base/scoped_generic.h"

View File

@ -23,6 +23,7 @@
#include <algorithm>
#include <iterator>
#include "base/check_op.h"
#include "base/files/scoped_file.h"
#include "base/logging.h"
#include "base/posix/eintr_wrapper.h"

View File

@ -19,6 +19,7 @@
#include <iterator>
#include "base/apple/mach_logging.h"
#include "base/check_op.h"
#include "base/logging.h"
namespace crashpad {

View File

@ -16,8 +16,9 @@
#include <limits>
#include "base/logging.h"
#include "base/check_op.h"
#include "base/fuchsia/fuchsia_logging.h"
#include "base/logging.h"
namespace crashpad {

View File

@ -22,6 +22,7 @@
#include <algorithm>
#include <limits>
#include "base/check_op.h"
#include "base/logging.h"
#include "base/posix/eintr_wrapper.h"
#include "build/build_config.h"

View File

@ -20,6 +20,7 @@
#include <algorithm>
#include "base/apple/mach_logging.h"
#include "base/check_op.h"
#include "base/logging.h"
#include "base/strings/stringprintf.h"
#include "util/stdlib/strnlen.h"

View File

@ -19,6 +19,7 @@
#include <algorithm>
#include <limits>
#include "base/check_op.h"
#include "base/logging.h"
#include "base/memory/page_size.h"
#include "base/numerics/safe_conversions.h"

View File

@ -23,6 +23,7 @@
#include <new>
#include <type_traits>
#include "base/check_op.h"
#include "base/logging.h"
#include "base/memory/free_deleter.h"
#include "base/process/memory.h"