aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/OperatingSystem/Go/OperatingSystemGo.h
diff options
context:
space:
mode:
authorEugene Zelenko <eugene.zelenko@gmail.com>2015-10-21 18:46:17 +0000
committerEugene Zelenko <eugene.zelenko@gmail.com>2015-10-21 18:46:17 +0000
commitab7f6d04db50e948440e444f29366c4c570ff47c (patch)
tree4dcfa4226a396a54af1d59fb7a0880e72cb54ec2 /lldb/source/Plugins/OperatingSystem/Go/OperatingSystemGo.h
parentfa0adfd3c6daca8414462085fd8bca3a7f92f82d (diff)
downloadllvm-ab7f6d04db50e948440e444f29366c4c570ff47c.zip
llvm-ab7f6d04db50e948440e444f29366c4c570ff47c.tar.gz
llvm-ab7f6d04db50e948440e444f29366c4c570ff47c.tar.bz2
Fix Clang-tidy modernize-use-override warnings in some files in source/Plugins; other minor fixes.
Differential Revision: http://reviews.llvm.org/D13951 llvm-svn: 250925
Diffstat (limited to 'lldb/source/Plugins/OperatingSystem/Go/OperatingSystemGo.h')
-rw-r--r--lldb/source/Plugins/OperatingSystem/Go/OperatingSystemGo.h46
1 files changed, 23 insertions, 23 deletions
diff --git a/lldb/source/Plugins/OperatingSystem/Go/OperatingSystemGo.h b/lldb/source/Plugins/OperatingSystem/Go/OperatingSystemGo.h
index b543f61..ad3cbb4 100644
--- a/lldb/source/Plugins/OperatingSystem/Go/OperatingSystemGo.h
+++ b/lldb/source/Plugins/OperatingSystem/Go/OperatingSystemGo.h
@@ -1,24 +1,30 @@
-//===-- OperatingSystemGo.h ----------------------------------*- C++ -*-===//
+//===-- OperatingSystemGo.h -------------------------------------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
-//===-------------------------------------------------------------------===//
+//===----------------------------------------------------------------------===//
#ifndef _liblldb_OperatingSystemGo_h_
#define _liblldb_OperatingSystemGo_h_
-#include <iostream>
-
+// C Includes
+// C++ Includes
+// Other libraries and framework includes
+// Project includes
#include "lldb/Target/OperatingSystem.h"
class DynamicRegisterInfo;
class OperatingSystemGo : public lldb_private::OperatingSystem
{
- public:
+public:
+ OperatingSystemGo(lldb_private::Process *process);
+
+ ~OperatingSystemGo() override = default;
+
//------------------------------------------------------------------
// Static Functions
//------------------------------------------------------------------
@@ -35,38 +41,32 @@ class OperatingSystemGo : public lldb_private::OperatingSystem
static const char *GetPluginDescriptionStatic();
//------------------------------------------------------------------
- // Class Methods
- //------------------------------------------------------------------
- OperatingSystemGo(lldb_private::Process *process);
-
- virtual ~OperatingSystemGo();
-
- //------------------------------------------------------------------
// lldb_private::PluginInterface Methods
//------------------------------------------------------------------
- virtual lldb_private::ConstString GetPluginName();
+ lldb_private::ConstString GetPluginName() override;
- virtual uint32_t GetPluginVersion();
+ uint32_t GetPluginVersion() override;
//------------------------------------------------------------------
// lldb_private::OperatingSystem Methods
//------------------------------------------------------------------
- virtual bool UpdateThreadList(lldb_private::ThreadList &old_thread_list, lldb_private::ThreadList &real_thread_list,
- lldb_private::ThreadList &new_thread_list);
+ bool UpdateThreadList(lldb_private::ThreadList &old_thread_list,
+ lldb_private::ThreadList &real_thread_list,
+ lldb_private::ThreadList &new_thread_list) override;
- virtual void ThreadWasSelected(lldb_private::Thread *thread);
+ void ThreadWasSelected(lldb_private::Thread *thread) override;
- virtual lldb::RegisterContextSP CreateRegisterContextForThread(lldb_private::Thread *thread,
- lldb::addr_t reg_data_addr);
+ lldb::RegisterContextSP CreateRegisterContextForThread(lldb_private::Thread *thread,
+ lldb::addr_t reg_data_addr) override;
- virtual lldb::StopInfoSP CreateThreadStopReason(lldb_private::Thread *thread);
+ lldb::StopInfoSP CreateThreadStopReason(lldb_private::Thread *thread) override;
//------------------------------------------------------------------
// Method for lazy creation of threads on demand
//------------------------------------------------------------------
- virtual lldb::ThreadSP CreateThread(lldb::tid_t tid, lldb::addr_t context);
+ lldb::ThreadSP CreateThread(lldb::tid_t tid, lldb::addr_t context) override;
- private:
+private:
struct Goroutine;
static lldb::ValueObjectSP FindGlobal(lldb::TargetSP target, const char *name);
@@ -82,4 +82,4 @@ class OperatingSystemGo : public lldb_private::OperatingSystem
lldb::ValueObjectSP m_allglen_sp;
};
-#endif // #ifndef liblldb_OperatingSystemGo_h_
+#endif // liblldb_OperatingSystemGo_h_