diff options
author | Eric Christopher <echristo@gmail.com> | 2014-12-05 19:21:49 +0000 |
---|---|---|
committer | Eric Christopher <echristo@gmail.com> | 2014-12-05 19:21:49 +0000 |
commit | 73d15f212713090bae7fcbee8a9ca65ea70c934b (patch) | |
tree | f58fe4e6d5fc2b8428f9bd98f8a44cec865dbcc7 /lldb/source/Plugins/Platform | |
parent | 57cbdfc99a4f19570841ff6dc89eae5f2b9c95cd (diff) | |
download | bcm5719-llvm-73d15f212713090bae7fcbee8a9ca65ea70c934b.tar.gz bcm5719-llvm-73d15f212713090bae7fcbee8a9ca65ea70c934b.zip |
Fix a bunch of [-Werror,-Winconsistent-missing-override] warnings.
llvm-svn: 223501
Diffstat (limited to 'lldb/source/Plugins/Platform')
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 a5a9051b7f4..37768bc924d 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<std::string> &options) override diff --git a/lldb/source/Plugins/Platform/MacOSX/PlatformRemoteiOS.h b/lldb/source/Plugins/Platform/MacOSX/PlatformRemoteiOS.h index bc1b4251db0..ba8c0af8a55 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<std::string> &options) override diff --git a/lldb/source/Plugins/Platform/MacOSX/PlatformiOSSimulator.h b/lldb/source/Plugins/Platform/MacOSX/PlatformiOSSimulator.h index 6617989854c..9b24e3370c8 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<std::string> &options) override |