Run clang-format on process_reader_mac_test

Missed this in https://chromium-review.googlesource.com/c/crashpad/crashpad/+/3833512

Bug: None
Change-Id: I90a122f3b671999464e6a62e1df7d654573d9f05
Reviewed-on: https://chromium-review.googlesource.com/c/crashpad/crashpad/+/3840479
Reviewed-by: Mark Mentovai <mark@chromium.org>
This commit is contained in:
Leonard Grey 2022-08-18 17:51:05 -04:00 committed by Mark Mentovai
parent 1d4447645d
commit 3e80b95054

View File

@ -948,13 +948,13 @@ class ProcessReaderModulesChild final : public MachMultiprocess {
EXPECT_EQ(modules[index].reader->Address(), expect_address);
bool expect_timestamp;
if ((index == 0 && MacOSVersionNumber() < 12'00'00) || index == modules.size() - 1) {
if ((index == 0 && MacOSVersionNumber() < 12'00'00) ||
index == modules.size() - 1) {
// Pre-dyld4, dyld didnt set the main executable's timestamp, and it
// was reported as 0.
// The last module is dyld.
EXPECT_EQ(modules[index].timestamp, 0);
}
else if (IsMalformedCLKernelsModule(modules[index].reader->FileType(),
} else if (IsMalformedCLKernelsModule(modules[index].reader->FileType(),
modules[index].name,
&expect_timestamp)) {
// cl_kernels doesnt exist as a file, but may still have a timestamp.