forked from OSchip/llvm-project
Fix a bunch of [-Werror,-Winconsistent-missing-override] warnings.
llvm-svn: 223501
This commit is contained in:
parent
57cbdfc99a
commit
73d15f2127
|
|
@ -49,27 +49,27 @@ public:
|
||||||
//------------------------------------------------------------
|
//------------------------------------------------------------
|
||||||
// lldb_private::PluginInterface functions
|
// lldb_private::PluginInterface functions
|
||||||
//------------------------------------------------------------
|
//------------------------------------------------------------
|
||||||
virtual lldb_private::ConstString
|
lldb_private::ConstString
|
||||||
GetPluginName()
|
GetPluginName() override
|
||||||
{
|
{
|
||||||
return GetPluginNameStatic (IsHost());
|
return GetPluginNameStatic (IsHost());
|
||||||
}
|
}
|
||||||
|
|
||||||
virtual uint32_t
|
uint32_t
|
||||||
GetPluginVersion()
|
GetPluginVersion() override
|
||||||
{
|
{
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
virtual lldb_private::Error
|
lldb_private::Error
|
||||||
GetSharedModule (const lldb_private::ModuleSpec &module_spec,
|
GetSharedModule (const lldb_private::ModuleSpec &module_spec,
|
||||||
lldb::ModuleSP &module_sp,
|
lldb::ModuleSP &module_sp,
|
||||||
const lldb_private::FileSpecList *module_search_paths_ptr,
|
const lldb_private::FileSpecList *module_search_paths_ptr,
|
||||||
lldb::ModuleSP *old_module_sp_ptr,
|
lldb::ModuleSP *old_module_sp_ptr,
|
||||||
bool *did_create_ptr);
|
bool *did_create_ptr) override;
|
||||||
|
|
||||||
virtual const char *
|
const char *
|
||||||
GetDescription ()
|
GetDescription () override
|
||||||
{
|
{
|
||||||
return GetDescriptionStatic (IsHost());
|
return GetDescriptionStatic (IsHost());
|
||||||
}
|
}
|
||||||
|
|
@ -79,24 +79,24 @@ public:
|
||||||
const lldb_private::UUID *uuid_ptr,
|
const lldb_private::UUID *uuid_ptr,
|
||||||
lldb_private::FileSpec &local_file);
|
lldb_private::FileSpec &local_file);
|
||||||
|
|
||||||
virtual lldb_private::Error
|
lldb_private::Error
|
||||||
GetFile (const lldb_private::FileSpec& source,
|
GetFile (const lldb_private::FileSpec& source,
|
||||||
const lldb_private::FileSpec& destination)
|
const lldb_private::FileSpec& destination) override
|
||||||
{
|
{
|
||||||
return PlatformDarwin::GetFile (source,destination);
|
return PlatformDarwin::GetFile (source,destination);
|
||||||
}
|
}
|
||||||
|
|
||||||
virtual lldb_private::Error
|
lldb_private::Error
|
||||||
GetFileWithUUID (const lldb_private::FileSpec &platform_file,
|
GetFileWithUUID (const lldb_private::FileSpec &platform_file,
|
||||||
const lldb_private::UUID *uuid_ptr,
|
const lldb_private::UUID *uuid_ptr,
|
||||||
lldb_private::FileSpec &local_file);
|
lldb_private::FileSpec &local_file) override;
|
||||||
|
|
||||||
virtual bool
|
virtual bool
|
||||||
GetSupportedArchitectureAtIndex (uint32_t idx,
|
GetSupportedArchitectureAtIndex (uint32_t idx,
|
||||||
lldb_private::ArchSpec &arch);
|
lldb_private::ArchSpec &arch) override;
|
||||||
|
|
||||||
virtual lldb_private::ConstString
|
virtual lldb_private::ConstString
|
||||||
GetSDKDirectory (lldb_private::Target &target);
|
GetSDKDirectory (lldb_private::Target &target) override;
|
||||||
|
|
||||||
void
|
void
|
||||||
AddClangModuleCompilationOptions (std::vector<std::string> &options) override
|
AddClangModuleCompilationOptions (std::vector<std::string> &options) override
|
||||||
|
|
|
||||||
|
|
@ -51,14 +51,14 @@ public:
|
||||||
//------------------------------------------------------------
|
//------------------------------------------------------------
|
||||||
// lldb_private::PluginInterface functions
|
// lldb_private::PluginInterface functions
|
||||||
//------------------------------------------------------------
|
//------------------------------------------------------------
|
||||||
virtual lldb_private::ConstString
|
lldb_private::ConstString
|
||||||
GetPluginName()
|
GetPluginName() override
|
||||||
{
|
{
|
||||||
return GetPluginNameStatic();
|
return GetPluginNameStatic();
|
||||||
}
|
}
|
||||||
|
|
||||||
virtual uint32_t
|
uint32_t
|
||||||
GetPluginVersion()
|
GetPluginVersion() override
|
||||||
{
|
{
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
@ -66,35 +66,35 @@ public:
|
||||||
//------------------------------------------------------------
|
//------------------------------------------------------------
|
||||||
// lldb_private::Platform functions
|
// lldb_private::Platform functions
|
||||||
//------------------------------------------------------------
|
//------------------------------------------------------------
|
||||||
virtual lldb_private::Error
|
lldb_private::Error
|
||||||
ResolveExecutable (const lldb_private::ModuleSpec &module_spec,
|
ResolveExecutable (const lldb_private::ModuleSpec &module_spec,
|
||||||
lldb::ModuleSP &module_sp,
|
lldb::ModuleSP &module_sp,
|
||||||
const lldb_private::FileSpecList *module_search_paths_ptr);
|
const lldb_private::FileSpecList *module_search_paths_ptr) override;
|
||||||
|
|
||||||
virtual const char *
|
const char *
|
||||||
GetDescription ()
|
GetDescription () override
|
||||||
{
|
{
|
||||||
return GetDescriptionStatic();
|
return GetDescriptionStatic();
|
||||||
}
|
}
|
||||||
|
|
||||||
virtual void
|
void
|
||||||
GetStatus (lldb_private::Stream &strm);
|
GetStatus (lldb_private::Stream &strm) override;
|
||||||
|
|
||||||
virtual lldb_private::Error
|
virtual lldb_private::Error
|
||||||
GetSymbolFile (const lldb_private::FileSpec &platform_file,
|
GetSymbolFile (const lldb_private::FileSpec &platform_file,
|
||||||
const lldb_private::UUID *uuid_ptr,
|
const lldb_private::UUID *uuid_ptr,
|
||||||
lldb_private::FileSpec &local_file);
|
lldb_private::FileSpec &local_file);
|
||||||
|
|
||||||
virtual lldb_private::Error
|
lldb_private::Error
|
||||||
GetSharedModule (const lldb_private::ModuleSpec &module_spec,
|
GetSharedModule (const lldb_private::ModuleSpec &module_spec,
|
||||||
lldb::ModuleSP &module_sp,
|
lldb::ModuleSP &module_sp,
|
||||||
const lldb_private::FileSpecList *module_search_paths_ptr,
|
const lldb_private::FileSpecList *module_search_paths_ptr,
|
||||||
lldb::ModuleSP *old_module_sp_ptr,
|
lldb::ModuleSP *old_module_sp_ptr,
|
||||||
bool *did_create_ptr);
|
bool *did_create_ptr) override;
|
||||||
|
|
||||||
virtual bool
|
bool
|
||||||
GetSupportedArchitectureAtIndex (uint32_t idx,
|
GetSupportedArchitectureAtIndex (uint32_t idx,
|
||||||
lldb_private::ArchSpec &arch);
|
lldb_private::ArchSpec &arch) override;
|
||||||
|
|
||||||
void
|
void
|
||||||
AddClangModuleCompilationOptions (std::vector<std::string> &options) override
|
AddClangModuleCompilationOptions (std::vector<std::string> &options) override
|
||||||
|
|
|
||||||
|
|
@ -49,14 +49,14 @@ public:
|
||||||
//------------------------------------------------------------
|
//------------------------------------------------------------
|
||||||
// lldb_private::PluginInterface functions
|
// lldb_private::PluginInterface functions
|
||||||
//------------------------------------------------------------
|
//------------------------------------------------------------
|
||||||
virtual lldb_private::ConstString
|
lldb_private::ConstString
|
||||||
GetPluginName()
|
GetPluginName() override
|
||||||
{
|
{
|
||||||
return GetPluginNameStatic();
|
return GetPluginNameStatic();
|
||||||
}
|
}
|
||||||
|
|
||||||
virtual uint32_t
|
uint32_t
|
||||||
GetPluginVersion()
|
GetPluginVersion() override
|
||||||
{
|
{
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
@ -64,39 +64,39 @@ public:
|
||||||
//------------------------------------------------------------
|
//------------------------------------------------------------
|
||||||
// lldb_private::Platform functions
|
// lldb_private::Platform functions
|
||||||
//------------------------------------------------------------
|
//------------------------------------------------------------
|
||||||
virtual lldb_private::Error
|
lldb_private::Error
|
||||||
ResolveExecutable (const lldb_private::ModuleSpec &module_spec,
|
ResolveExecutable (const lldb_private::ModuleSpec &module_spec,
|
||||||
lldb::ModuleSP &module_sp,
|
lldb::ModuleSP &module_sp,
|
||||||
const lldb_private::FileSpecList *module_search_paths_ptr);
|
const lldb_private::FileSpecList *module_search_paths_ptr) override;
|
||||||
|
|
||||||
virtual const char *
|
const char *
|
||||||
GetDescription ()
|
GetDescription () override
|
||||||
{
|
{
|
||||||
return GetDescriptionStatic();
|
return GetDescriptionStatic();
|
||||||
}
|
}
|
||||||
|
|
||||||
virtual void
|
void
|
||||||
GetStatus (lldb_private::Stream &strm);
|
GetStatus (lldb_private::Stream &strm) override;
|
||||||
|
|
||||||
virtual lldb_private::Error
|
virtual lldb_private::Error
|
||||||
GetSymbolFile (const lldb_private::FileSpec &platform_file,
|
GetSymbolFile (const lldb_private::FileSpec &platform_file,
|
||||||
const lldb_private::UUID *uuid_ptr,
|
const lldb_private::UUID *uuid_ptr,
|
||||||
lldb_private::FileSpec &local_file);
|
lldb_private::FileSpec &local_file);
|
||||||
|
|
||||||
virtual lldb_private::Error
|
lldb_private::Error
|
||||||
GetSharedModule (const lldb_private::ModuleSpec &module_spec,
|
GetSharedModule (const lldb_private::ModuleSpec &module_spec,
|
||||||
lldb::ModuleSP &module_sp,
|
lldb::ModuleSP &module_sp,
|
||||||
const lldb_private::FileSpecList *module_search_paths_ptr,
|
const lldb_private::FileSpecList *module_search_paths_ptr,
|
||||||
lldb::ModuleSP *old_module_sp_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,
|
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,
|
GetSupportedArchitectureAtIndex (uint32_t idx,
|
||||||
lldb_private::ArchSpec &arch);
|
lldb_private::ArchSpec &arch) override;
|
||||||
|
|
||||||
void
|
void
|
||||||
AddClangModuleCompilationOptions (std::vector<std::string> &options) override
|
AddClangModuleCompilationOptions (std::vector<std::string> &options) override
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue