From 73d15f212713090bae7fcbee8a9ca65ea70c934b Mon Sep 17 00:00:00 2001 From: Eric Christopher Date: Fri, 5 Dec 2014 19:21:49 +0000 Subject: [PATCH] Fix a bunch of [-Werror,-Winconsistent-missing-override] warnings. llvm-svn: 223501 --- .../Plugins/Platform/MacOSX/PlatformMacOSX.h | 28 +++++++++---------- .../Plugins/Platform/MacOSX/PlatformRemoteiOS.h | 28 +++++++++---------- .../Plugins/Platform/MacOSX/PlatformiOSSimulator.h | 32 +++++++++++----------- 3 files changed, 44 insertions(+), 44 deletions(-) diff --git a/lldb/source/Plugins/Platform/MacOSX/PlatformMacOSX.h b/lldb/source/Plugins/Platform/MacOSX/PlatformMacOSX.h index a5a9051..37768bc 100644 --- a/lldb/source/Plugins/Platform/MacOSX/PlatformMacOSX.h +++ b/lldb/source/Plugins/Platform/MacOSX/PlatformMacOSX.h @@ -49,27 +49,27 @@ public: //------------------------------------------------------------ // lldb_private::PluginInterface functions //------------------------------------------------------------ - virtual lldb_private::ConstString - GetPluginName() + lldb_private::ConstString + GetPluginName() override { return GetPluginNameStatic (IsHost()); } - virtual uint32_t - GetPluginVersion() + uint32_t + GetPluginVersion() override { return 1; } - virtual lldb_private::Error + lldb_private::Error GetSharedModule (const lldb_private::ModuleSpec &module_spec, lldb::ModuleSP &module_sp, const lldb_private::FileSpecList *module_search_paths_ptr, lldb::ModuleSP *old_module_sp_ptr, - bool *did_create_ptr); + bool *did_create_ptr) override; - virtual const char * - GetDescription () + const char * + GetDescription () override { return GetDescriptionStatic (IsHost()); } @@ -79,24 +79,24 @@ public: const lldb_private::UUID *uuid_ptr, lldb_private::FileSpec &local_file); - virtual lldb_private::Error + lldb_private::Error GetFile (const lldb_private::FileSpec& source, - const lldb_private::FileSpec& destination) + const lldb_private::FileSpec& destination) override { return PlatformDarwin::GetFile (source,destination); } - virtual lldb_private::Error + lldb_private::Error GetFileWithUUID (const lldb_private::FileSpec &platform_file, const lldb_private::UUID *uuid_ptr, - lldb_private::FileSpec &local_file); + lldb_private::FileSpec &local_file) override; virtual bool GetSupportedArchitectureAtIndex (uint32_t idx, - lldb_private::ArchSpec &arch); + lldb_private::ArchSpec &arch) override; virtual lldb_private::ConstString - GetSDKDirectory (lldb_private::Target &target); + GetSDKDirectory (lldb_private::Target &target) override; void AddClangModuleCompilationOptions (std::vector &options) override diff --git a/lldb/source/Plugins/Platform/MacOSX/PlatformRemoteiOS.h b/lldb/source/Plugins/Platform/MacOSX/PlatformRemoteiOS.h index bc1b425..ba8c0af 100644 --- a/lldb/source/Plugins/Platform/MacOSX/PlatformRemoteiOS.h +++ b/lldb/source/Plugins/Platform/MacOSX/PlatformRemoteiOS.h @@ -51,14 +51,14 @@ public: //------------------------------------------------------------ // lldb_private::PluginInterface functions //------------------------------------------------------------ - virtual lldb_private::ConstString - GetPluginName() + lldb_private::ConstString + GetPluginName() override { return GetPluginNameStatic(); } - virtual uint32_t - GetPluginVersion() + uint32_t + GetPluginVersion() override { return 1; } @@ -66,35 +66,35 @@ public: //------------------------------------------------------------ // lldb_private::Platform functions //------------------------------------------------------------ - virtual lldb_private::Error + lldb_private::Error ResolveExecutable (const lldb_private::ModuleSpec &module_spec, lldb::ModuleSP &module_sp, - const lldb_private::FileSpecList *module_search_paths_ptr); + const lldb_private::FileSpecList *module_search_paths_ptr) override; - virtual const char * - GetDescription () + const char * + GetDescription () override { return GetDescriptionStatic(); } - virtual void - GetStatus (lldb_private::Stream &strm); + void + GetStatus (lldb_private::Stream &strm) override; virtual lldb_private::Error GetSymbolFile (const lldb_private::FileSpec &platform_file, const lldb_private::UUID *uuid_ptr, lldb_private::FileSpec &local_file); - virtual lldb_private::Error + lldb_private::Error GetSharedModule (const lldb_private::ModuleSpec &module_spec, lldb::ModuleSP &module_sp, const lldb_private::FileSpecList *module_search_paths_ptr, lldb::ModuleSP *old_module_sp_ptr, - bool *did_create_ptr); + bool *did_create_ptr) override; - virtual bool + bool GetSupportedArchitectureAtIndex (uint32_t idx, - lldb_private::ArchSpec &arch); + lldb_private::ArchSpec &arch) override; void AddClangModuleCompilationOptions (std::vector &options) override diff --git a/lldb/source/Plugins/Platform/MacOSX/PlatformiOSSimulator.h b/lldb/source/Plugins/Platform/MacOSX/PlatformiOSSimulator.h index 6617989..9b24e33 100644 --- a/lldb/source/Plugins/Platform/MacOSX/PlatformiOSSimulator.h +++ b/lldb/source/Plugins/Platform/MacOSX/PlatformiOSSimulator.h @@ -49,14 +49,14 @@ public: //------------------------------------------------------------ // lldb_private::PluginInterface functions //------------------------------------------------------------ - virtual lldb_private::ConstString - GetPluginName() + lldb_private::ConstString + GetPluginName() override { return GetPluginNameStatic(); } - virtual uint32_t - GetPluginVersion() + uint32_t + GetPluginVersion() override { return 1; } @@ -64,39 +64,39 @@ public: //------------------------------------------------------------ // lldb_private::Platform functions //------------------------------------------------------------ - virtual lldb_private::Error + lldb_private::Error ResolveExecutable (const lldb_private::ModuleSpec &module_spec, lldb::ModuleSP &module_sp, - const lldb_private::FileSpecList *module_search_paths_ptr); + const lldb_private::FileSpecList *module_search_paths_ptr) override; - virtual const char * - GetDescription () + const char * + GetDescription () override { return GetDescriptionStatic(); } - virtual void - GetStatus (lldb_private::Stream &strm); + void + GetStatus (lldb_private::Stream &strm) override; virtual lldb_private::Error GetSymbolFile (const lldb_private::FileSpec &platform_file, const lldb_private::UUID *uuid_ptr, lldb_private::FileSpec &local_file); - virtual lldb_private::Error + lldb_private::Error GetSharedModule (const lldb_private::ModuleSpec &module_spec, lldb::ModuleSP &module_sp, const lldb_private::FileSpecList *module_search_paths_ptr, lldb::ModuleSP *old_module_sp_ptr, - bool *did_create_ptr); + bool *did_create_ptr) override; - virtual uint32_t + uint32_t FindProcesses (const lldb_private::ProcessInstanceInfoMatch &match_info, - lldb_private::ProcessInstanceInfoList &process_infos); + lldb_private::ProcessInstanceInfoList &process_infos) override; - virtual bool + bool GetSupportedArchitectureAtIndex (uint32_t idx, - lldb_private::ArchSpec &arch); + lldb_private::ArchSpec &arch) override; void AddClangModuleCompilationOptions (std::vector &options) override -- 2.7.4