mirror of
https://github.com/chromium/crashpad.git
synced 2025-03-09 14:06:33 +00:00
Remove a few unnecessary semicolons.
Patch by Nico Weber <thakis@chromium.org>, originally https://crrev.com/c/1463405. Bug: chromium:926235 Change-Id: I7e0ba822aa8dd104768d7ad6e603539576ae96a9 Reviewed-on: https://chromium-review.googlesource.com/c/1463744 Commit-Queue: Mark Mentovai <mark@chromium.org> Reviewed-by: Nico Weber <thakis@chromium.org>
This commit is contained in:
parent
152aa8d1f9
commit
ff5a25e11f
@ -42,7 +42,7 @@ class MinidumpUserStreamWriter::SnapshotContentsWriter final
|
||||
return snapshot_->Read(this);
|
||||
}
|
||||
|
||||
size_t GetSize() const override { return snapshot_ ? snapshot_->Size() : 0; };
|
||||
size_t GetSize() const override { return snapshot_ ? snapshot_->Size() : 0; }
|
||||
|
||||
bool MemorySnapshotDelegateRead(void* data, size_t size) override {
|
||||
return writer_->Write(data, size);
|
||||
|
@ -160,29 +160,29 @@ bool CrashpadInfoReader::Initialize(const ProcessMemoryRange* memory,
|
||||
return GET_MEMBER(member); \
|
||||
}
|
||||
|
||||
DEFINE_GETTER(TriState, CrashpadHandlerBehavior, crashpad_handler_behavior);
|
||||
DEFINE_GETTER(TriState, CrashpadHandlerBehavior, crashpad_handler_behavior)
|
||||
|
||||
DEFINE_GETTER(TriState,
|
||||
SystemCrashReporterForwarding,
|
||||
system_crash_reporter_forwarding);
|
||||
system_crash_reporter_forwarding)
|
||||
|
||||
DEFINE_GETTER(TriState,
|
||||
GatherIndirectlyReferencedMemory,
|
||||
gather_indirectly_referenced_memory);
|
||||
gather_indirectly_referenced_memory)
|
||||
|
||||
DEFINE_GETTER(uint32_t,
|
||||
IndirectlyReferencedMemoryCap,
|
||||
indirectly_referenced_memory_cap);
|
||||
indirectly_referenced_memory_cap)
|
||||
|
||||
DEFINE_GETTER(VMAddress, ExtraMemoryRanges, extra_memory_ranges);
|
||||
DEFINE_GETTER(VMAddress, ExtraMemoryRanges, extra_memory_ranges)
|
||||
|
||||
DEFINE_GETTER(VMAddress, SimpleAnnotations, simple_annotations);
|
||||
DEFINE_GETTER(VMAddress, SimpleAnnotations, simple_annotations)
|
||||
|
||||
DEFINE_GETTER(VMAddress, AnnotationsList, annotations_list);
|
||||
DEFINE_GETTER(VMAddress, AnnotationsList, annotations_list)
|
||||
|
||||
DEFINE_GETTER(VMAddress,
|
||||
UserDataMinidumpStreamHead,
|
||||
user_data_minidump_stream_head);
|
||||
user_data_minidump_stream_head)
|
||||
|
||||
#undef DEFINE_GETTER
|
||||
#undef GET_MEMBER
|
||||
|
@ -49,8 +49,8 @@
|
||||
#endif // OS_FUCHSIA
|
||||
|
||||
extern "C" {
|
||||
__attribute__((visibility("default"))) void
|
||||
ElfImageReaderTestExportedSymbol(){};
|
||||
__attribute__((visibility("default"))) void ElfImageReaderTestExportedSymbol() {
|
||||
}
|
||||
} // extern "C"
|
||||
|
||||
namespace crashpad {
|
||||
|
@ -25,7 +25,7 @@ namespace crashpad {
|
||||
class MinidumpStream {
|
||||
public:
|
||||
MinidumpStream(uint32_t stream_type, std::vector<uint8_t> data)
|
||||
: stream_type_(stream_type), data_(data){};
|
||||
: stream_type_(stream_type), data_(data) {}
|
||||
|
||||
uint32_t stream_type() const { return stream_type_; }
|
||||
const std::vector<uint8_t>& data() const { return data_; }
|
||||
|
@ -26,7 +26,7 @@ namespace test {
|
||||
|
||||
namespace internal {
|
||||
struct MultiprocessInfo;
|
||||
};
|
||||
} // namespace internal
|
||||
|
||||
//! \brief Manages a multiprocess test.
|
||||
//!
|
||||
|
@ -72,8 +72,7 @@ TEST(MultiprocessExec, MultiprocessExecSimpleChild) {
|
||||
TestMultiprocessExec exec;
|
||||
exec.SetChildTestMainFunction("SimpleMultiprocess");
|
||||
exec.Run();
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
CRASHPAD_CHILD_TEST_MAIN(SimpleMultiprocessReturnsNonZero) {
|
||||
return 123;
|
||||
@ -96,7 +95,7 @@ TEST(MultiprocessExec, MultiprocessExecSimpleChildReturnsNonZero) {
|
||||
exec.SetExpectedChildTermination(
|
||||
Multiprocess::TerminationReason::kTerminationNormal, 123);
|
||||
exec.Run();
|
||||
};
|
||||
}
|
||||
|
||||
#if !defined(OS_WIN)
|
||||
|
||||
|
@ -210,7 +210,7 @@ ParseResult ParseMapsLine(DelimitedFileReader* maps_file_reader,
|
||||
class SparseReverseIterator : public MemoryMap::Iterator {
|
||||
public:
|
||||
SparseReverseIterator(const std::vector<const MemoryMap::Mapping*>& mappings)
|
||||
: mappings_(mappings), riter_(mappings_.rbegin()){};
|
||||
: mappings_(mappings), riter_(mappings_.rbegin()) {}
|
||||
|
||||
SparseReverseIterator() : mappings_(), riter_(mappings_.rend()) {}
|
||||
|
||||
|
@ -32,10 +32,10 @@ namespace {
|
||||
bool ConvertStringToNumber(const base::StringPiece& input, type* value) { \
|
||||
return function(input, value); \
|
||||
}
|
||||
MAKE_ADAPTER(int, base::StringToInt);
|
||||
MAKE_ADAPTER(unsigned int, base::StringToUint);
|
||||
MAKE_ADAPTER(int64_t, base::StringToInt64);
|
||||
MAKE_ADAPTER(uint64_t, base::StringToUint64);
|
||||
MAKE_ADAPTER(int, base::StringToInt)
|
||||
MAKE_ADAPTER(unsigned int, base::StringToUint)
|
||||
MAKE_ADAPTER(int64_t, base::StringToInt64)
|
||||
MAKE_ADAPTER(uint64_t, base::StringToUint64)
|
||||
#undef MAKE_ADAPTER
|
||||
|
||||
} // namespace
|
||||
|
Loading…
x
Reference in New Issue
Block a user