mirror of
https://github.com/chromium/crashpad.git
synced 2024-12-26 23:01:05 +08:00
minidump: Annotate existing virtual destructors that override a base
class virtual destructor with “override”. TEST=minidump_test MinidumpContextWriter.*:MinidumpModuleWriter.* R=rsesek@chromium.org Review URL: https://codereview.chromium.org/675783006
This commit is contained in:
parent
dcdbd2098f
commit
44a839614b
@ -51,7 +51,7 @@ class MinidumpContextWriter : public internal::MinidumpWritable {
|
||||
class MinidumpContextX86Writer final : public MinidumpContextWriter {
|
||||
public:
|
||||
MinidumpContextX86Writer();
|
||||
virtual ~MinidumpContextX86Writer();
|
||||
~MinidumpContextX86Writer() override;
|
||||
|
||||
//! \brief Returns a pointer to the context structure that this object will
|
||||
//! write.
|
||||
@ -82,7 +82,7 @@ class MinidumpContextX86Writer final : public MinidumpContextWriter {
|
||||
class MinidumpContextAMD64Writer final : public MinidumpContextWriter {
|
||||
public:
|
||||
MinidumpContextAMD64Writer();
|
||||
virtual ~MinidumpContextAMD64Writer();
|
||||
~MinidumpContextAMD64Writer() override;
|
||||
|
||||
//! \brief Returns a pointer to the context structure that this object will
|
||||
//! write.
|
||||
|
@ -63,7 +63,7 @@ class MinidumpModuleCodeViewRecordPDBLinkWriter
|
||||
|
||||
protected:
|
||||
MinidumpModuleCodeViewRecordPDBLinkWriter();
|
||||
virtual ~MinidumpModuleCodeViewRecordPDBLinkWriter();
|
||||
~MinidumpModuleCodeViewRecordPDBLinkWriter() override;
|
||||
|
||||
// MinidumpWritable:
|
||||
size_t SizeOfObject() override;
|
||||
@ -96,7 +96,7 @@ class MinidumpModuleCodeViewRecordPDB20Writer final
|
||||
: internal::MinidumpModuleCodeViewRecordPDBLinkWriter<
|
||||
MinidumpModuleCodeViewRecordPDB20>() {}
|
||||
|
||||
virtual ~MinidumpModuleCodeViewRecordPDB20Writer();
|
||||
~MinidumpModuleCodeViewRecordPDB20Writer() override;
|
||||
|
||||
//! \brief Sets MinidumpModuleCodeViewRecordPDB20::timestamp and
|
||||
//! MinidumpModuleCodeViewRecordPDB20::age.
|
||||
@ -116,7 +116,7 @@ class MinidumpModuleCodeViewRecordPDB70Writer final
|
||||
: internal::MinidumpModuleCodeViewRecordPDBLinkWriter<
|
||||
MinidumpModuleCodeViewRecordPDB70>() {}
|
||||
|
||||
virtual ~MinidumpModuleCodeViewRecordPDB70Writer();
|
||||
~MinidumpModuleCodeViewRecordPDB70Writer() override;
|
||||
|
||||
//! \brief Sets MinidumpModuleCodeViewRecordPDB70::uuid and
|
||||
//! MinidumpModuleCodeViewRecordPDB70::age.
|
||||
|
Loading…
x
Reference in New Issue
Block a user