summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/MemoryHistory
diff options
context:
space:
mode:
authorEugene Zelenko <eugene.zelenko@gmail.com>2015-10-24 01:08:35 +0000
committerEugene Zelenko <eugene.zelenko@gmail.com>2015-10-24 01:08:35 +0000
commit8d9f17bba56436000f7386ebeff630cc93650a6e (patch)
tree4943978a67938d948fc015b51c6a80addf249196 /lldb/source/Plugins/MemoryHistory
parent60207fbe92a6de3d5bc00372a6ae11dd49ae0933 (diff)
Fix Clang-tidy modernize-use-override warnings in some files in source/Plugins; other minor fixes.
Diffstat (limited to 'lldb/source/Plugins/MemoryHistory')
-rw-r--r--lldb/source/Plugins/MemoryHistory/asan/MemoryHistoryASan.h32
1 files changed, 17 insertions, 15 deletions
diff --git a/lldb/source/Plugins/MemoryHistory/asan/MemoryHistoryASan.h b/lldb/source/Plugins/MemoryHistory/asan/MemoryHistoryASan.h
index 51484b752b6..b38f95ed744 100644
--- a/lldb/source/Plugins/MemoryHistory/asan/MemoryHistoryASan.h
+++ b/lldb/source/Plugins/MemoryHistory/asan/MemoryHistoryASan.h
@@ -1,4 +1,4 @@
-//===-- MemoryHistoryASan.h ----------------------------------------*- C++ -*-===//
+//===-- MemoryHistoryASan.h -------------------------------------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
@@ -24,7 +24,8 @@ namespace lldb_private {
class MemoryHistoryASan : public lldb_private::MemoryHistory
{
public:
-
+ ~MemoryHistoryASan() override = default;
+
static lldb::MemoryHistorySP
CreateInstance (const lldb::ProcessSP &process_sp);
@@ -36,27 +37,28 @@ public:
static lldb_private::ConstString
GetPluginNameStatic();
+
+ lldb_private::ConstString
+ GetPluginName() override
+ {
+ return GetPluginNameStatic();
+ }
- virtual
- ~MemoryHistoryASan () {}
-
- virtual lldb_private::ConstString
- GetPluginName() { return GetPluginNameStatic(); }
-
- virtual uint32_t
- GetPluginVersion() { return 1; }
+ uint32_t
+ GetPluginVersion() override
+ {
+ return 1;
+ }
- virtual lldb_private::HistoryThreads
- GetHistoryThreads(lldb::addr_t address);
+ lldb_private::HistoryThreads
+ GetHistoryThreads(lldb::addr_t address) override;
private:
-
MemoryHistoryASan(const lldb::ProcessSP &process_sp);
lldb::ProcessWP m_process_wp;
-
};
} // namespace lldb_private
-#endif // liblldb_MemoryHistoryASan_h_
+#endif // liblldb_MemoryHistoryASan_h_