diff options
| author | Eugene Zelenko <eugene.zelenko@gmail.com> | 2015-10-22 00:45:41 +0000 |
|---|---|---|
| committer | Eugene Zelenko <eugene.zelenko@gmail.com> | 2015-10-22 00:45:41 +0000 |
| commit | 05e0fc85b2fc2e2261bf22fa5ec8d4f77afd1b45 (patch) | |
| tree | ce4605fb86692b7623e1181cdbc38b24e1538435 /lldb/source/Plugins/LanguageRuntime/CPlusPlus | |
| parent | 82ffb8e90495a580b8f2a9248001851a52301e56 (diff) | |
| download | bcm5719-llvm-05e0fc85b2fc2e2261bf22fa5ec8d4f77afd1b45.tar.gz bcm5719-llvm-05e0fc85b2fc2e2261bf22fa5ec8d4f77afd1b45.zip | |
Fix Clang-tidy modernize-use-override warnings in some files in source/Plugins/LanguageRuntime; other minor fixes.
Differential Revision: http://reviews.llvm.org/D13966
llvm-svn: 250966
Diffstat (limited to 'lldb/source/Plugins/LanguageRuntime/CPlusPlus')
| -rw-r--r-- | lldb/source/Plugins/LanguageRuntime/CPlusPlus/ItaniumABI/ItaniumABILanguageRuntime.h | 88 |
1 files changed, 43 insertions, 45 deletions
diff --git a/lldb/source/Plugins/LanguageRuntime/CPlusPlus/ItaniumABI/ItaniumABILanguageRuntime.h b/lldb/source/Plugins/LanguageRuntime/CPlusPlus/ItaniumABI/ItaniumABILanguageRuntime.h index 02e4a0f8534..519a3cee36d 100644 --- a/lldb/source/Plugins/LanguageRuntime/CPlusPlus/ItaniumABI/ItaniumABILanguageRuntime.h +++ b/lldb/source/Plugins/LanguageRuntime/CPlusPlus/ItaniumABI/ItaniumABILanguageRuntime.h @@ -1,4 +1,4 @@ -//===-- ItaniumABILanguageRuntime.h ----------------------------------------*- C++ -*-===// +//===-- ItaniumABILanguageRuntime.h -----------------------------*- C++ -*-===// // // The LLVM Compiler Infrastructure // @@ -12,6 +12,8 @@ // C Includes // C++ Includes +#include <vector> + // Other libraries and framework includes // Project includes #include "lldb/lldb-private.h" @@ -20,33 +22,13 @@ #include "lldb/Target/CPPLanguageRuntime.h" #include "lldb/Core/Value.h" -#include <map> -#include <vector> - namespace lldb_private { class ItaniumABILanguageRuntime : public lldb_private::CPPLanguageRuntime { public: - ~ItaniumABILanguageRuntime() { } - - virtual bool - IsVTableName (const char *name); - - virtual bool - GetDynamicTypeAndAddress (ValueObject &in_value, - lldb::DynamicValueType use_dynamic, - TypeAndOrName &class_type_or_name, - Address &address, - Value::ValueType &value_type); - - virtual TypeAndOrName - FixUpDynamicType (const TypeAndOrName& type_and_or_name, - ValueObject& static_value); - - virtual bool - CouldHaveDynamicValue (ValueObject &in_value); + ~ItaniumABILanguageRuntime() override = default; //------------------------------------------------------------------ // Static Functions @@ -63,38 +45,54 @@ namespace lldb_private { static lldb_private::ConstString GetPluginNameStatic(); - //------------------------------------------------------------------ - // PluginInterface protocol - //------------------------------------------------------------------ - virtual lldb_private::ConstString - GetPluginName(); + bool + IsVTableName(const char *name) override; + + bool + GetDynamicTypeAndAddress(ValueObject &in_value, + lldb::DynamicValueType use_dynamic, + TypeAndOrName &class_type_or_name, + Address &address, + Value::ValueType &value_type) override; + + TypeAndOrName + FixUpDynamicType(const TypeAndOrName& type_and_or_name, + ValueObject& static_value) override; - virtual uint32_t - GetPluginVersion(); + bool + CouldHaveDynamicValue(ValueObject &in_value) override; - virtual void - SetExceptionBreakpoints (); + void + SetExceptionBreakpoints() override; - virtual void - ClearExceptionBreakpoints (); + void + ClearExceptionBreakpoints() override; - virtual bool - ExceptionBreakpointsAreSet (); + bool + ExceptionBreakpointsAreSet() override; - virtual bool - ExceptionBreakpointsExplainStop (lldb::StopInfoSP stop_reason); + bool + ExceptionBreakpointsExplainStop(lldb::StopInfoSP stop_reason) override; - virtual lldb::BreakpointResolverSP - CreateExceptionResolver (Breakpoint *bkpt, bool catch_bp, bool throw_bp); + lldb::BreakpointResolverSP + CreateExceptionResolver(Breakpoint *bkpt, bool catch_bp, bool throw_bp) override; - virtual lldb::SearchFilterSP - CreateExceptionSearchFilter (); + lldb::SearchFilterSP + CreateExceptionSearchFilter() override; - virtual size_t - GetAlternateManglings(const ConstString &mangled, std::vector<ConstString> &alternates); + size_t + GetAlternateManglings(const ConstString &mangled, std::vector<ConstString> &alternates) override; - protected: + //------------------------------------------------------------------ + // PluginInterface protocol + //------------------------------------------------------------------ + lldb_private::ConstString + GetPluginName() override; + + uint32_t + GetPluginVersion() override; + protected: lldb::BreakpointResolverSP CreateExceptionResolver (Breakpoint *bkpt, bool catch_bp, bool throw_bp, bool for_expressions); @@ -112,4 +110,4 @@ namespace lldb_private { } // namespace lldb_private -#endif // liblldb_ItaniumABILanguageRuntime_h_ +#endif // liblldb_ItaniumABILanguageRuntime_h_ |

