clang-modernize -add-override

This commit is contained in:
Tillmann Karras
2014-03-08 01:54:44 +01:00
parent c89f04a7c5
commit f28116b7da
67 changed files with 401 additions and 401 deletions

View File

@ -14,6 +14,6 @@ class CBreakPointView : public wxListCtrl
public:
CBreakPointView(wxWindow* parent, const wxWindowID id);
void Update();
void Update() override;
void DeleteCurrentSelection();
};

View File

@ -62,7 +62,7 @@ class CCodeWindow
bool JITBlockLinking();
void JumpToAddress(u32 _Address);
void Update();
void Update() override;
void NotifyMapLoaded();
void CreateMenu(const SCoreStartupParameter& _LocalCoreStartupParameter, wxMenuBar *pMenuBar);
void CreateMenuOptions(wxMenu *pMenu);

View File

@ -27,7 +27,7 @@ public:
DSPDebuggerLLE(wxWindow *parent, wxWindowID id = wxID_ANY);
virtual ~DSPDebuggerLLE();
void Update();
void Update() override;
private:
DECLARE_EVENT_TABLE();

View File

@ -30,12 +30,12 @@ public:
memset(m_CachedRegHasChanged, 0, sizeof(m_CachedRegHasChanged));
}
int GetNumberCols(void) {return 2;}
int GetNumberRows(void) {return 32;}
bool IsEmptyCell(int row, int col) {return false;}
wxString GetValue(int row, int col);
void SetValue(int row, int col, const wxString &);
wxGridCellAttr *GetAttr(int, int, wxGridCellAttr::wxAttrKind);
int GetNumberCols(void) override {return 2;}
int GetNumberRows(void) override {return 32;}
bool IsEmptyCell(int row, int col) override {return false;}
wxString GetValue(int row, int col) override;
void SetValue(int row, int col, const wxString &) override;
wxGridCellAttr *GetAttr(int, int, wxGridCellAttr::wxAttrKind) override;
void UpdateCachedRegs();
};
@ -43,5 +43,5 @@ class DSPRegisterView : public wxGrid
{
public:
DSPRegisterView(wxWindow* parent, wxWindowID id);
void Update();
void Update() override;
};

View File

@ -40,10 +40,10 @@ public:
bool bSaveTargets;
bool bSaveShaders;
void OnPause();
void OnPause() override;
// Called from GFX thread once the GFXDebuggerPauseFlag spin lock has finished
void OnContinue();
void OnContinue() override;
private:
DECLARE_EVENT_TABLE();

View File

@ -27,7 +27,7 @@ class JitBlockList : public wxListCtrl
public:
JitBlockList(wxWindow* parent, const wxWindowID id, const wxPoint& pos, const wxSize& size, long style);
void Init();
void Update();
void Update() override;
};
class CJitWindow : public wxPanel
@ -41,7 +41,7 @@ public:
const wxString& name = _("JIT block viewer"));
void ViewAddr(u32 em_address);
void Update();
void Update() override;
private:
void OnRefresh(wxCommandEvent& /*event*/);

View File

@ -43,7 +43,7 @@ class CMemoryWindow
void Save(IniFile& _IniFile) const;
void Load(IniFile& _IniFile);
void Update();
void Update() override;
void NotifyMapLoaded();
void JumpToAddress(u32 _Address);

View File

@ -45,12 +45,12 @@ public:
memset(m_CachedSpecialRegHasChanged, 0, sizeof(m_CachedSpecialRegHasChanged));
memset(m_CachedFRegHasChanged, 0, sizeof(m_CachedFRegHasChanged));
}
int GetNumberCols(void) {return 5;}
int GetNumberRows(void) {return 32 + NUM_SPECIALS;}
bool IsEmptyCell(int row, int col) {return row > 31 && col > 2;}
wxString GetValue(int row, int col);
void SetValue(int row, int col, const wxString &);
wxGridCellAttr *GetAttr(int, int, wxGridCellAttr::wxAttrKind);
int GetNumberCols(void) override {return 5;}
int GetNumberRows(void) override {return 32 + NUM_SPECIALS;}
bool IsEmptyCell(int row, int col) override {return row > 31 && col > 2;}
wxString GetValue(int row, int col) override;
void SetValue(int row, int col, const wxString &) override;
wxGridCellAttr *GetAttr(int, int, wxGridCellAttr::wxAttrKind) override;
void UpdateCachedRegs();
private:
@ -68,5 +68,5 @@ class CRegisterView : public wxGrid
{
public:
CRegisterView(wxWindow* parent, wxWindowID id);
void Update();
void Update() override;
};

View File

@ -13,12 +13,12 @@ private:
cX11Window XWindow;
public:
friend class cX11Window;
void SwapInterval(int Interval);
void Swap();
void UpdateFPSDisplay(const char *Text);
void* GetFuncAddress(std::string name);
bool Create(void *&window_handle);
bool MakeCurrent();
bool ClearCurrent();
void Shutdown();
void SwapInterval(int Interval) override;
void Swap() override;
void UpdateFPSDisplay(const char *Text) override;
void* GetFuncAddress(std::string name) override;
bool Create(void *&window_handle) override;
bool MakeCurrent() override;
bool ClearCurrent() override;
void Shutdown() override;
};

View File

@ -38,7 +38,7 @@ public:
CGameListCtrl(wxWindow* parent, const wxWindowID id, const wxPoint& pos, const wxSize& size, long style);
~CGameListCtrl();
void Update();
void Update() override;
void BrowseForDirectory();
const GameListItem *GetSelectedISO();

View File

@ -61,8 +61,8 @@ class PadSettingExtension : public PadSetting
{
public:
PadSettingExtension(wxWindow* const parent, ControllerEmu::Extension* const ext);
void UpdateGUI();
void UpdateValue();
void UpdateGUI() override;
void UpdateValue() override;
ControllerEmu::Extension* const extension;
};
@ -75,8 +75,8 @@ public:
, wxSize(54, -1), 0, setting->low, setting->high, (int)(setting->value * 100)))
, value(setting->value) {}
void UpdateGUI();
void UpdateValue();
void UpdateGUI() override;
void UpdateValue() override;
ControlState& value;
};
@ -85,8 +85,8 @@ class PadSettingCheckBox : public PadSetting
{
public:
PadSettingCheckBox(wxWindow* const parent, ControlState& _value, const char* const label);
void UpdateGUI();
void UpdateValue();
void UpdateGUI() override;
void UpdateValue() override;
ControlState& value;
};
@ -100,7 +100,7 @@ public:
wxStaticBoxSizer* CreateControlChooser(GamepadPage* const parent);
virtual bool Validate();
virtual bool Validate() override;
void DetectControl(wxCommandEvent& event);
void ClearControl(wxCommandEvent& event);
@ -234,7 +234,7 @@ public:
InputConfigDialog(wxWindow* const parent, InputPlugin& plugin, const std::string& name, const int tab_num = 0);
//~InputConfigDialog();
bool Destroy();
bool Destroy() override;
void ClickSave(wxCommandEvent& event);

View File

@ -53,7 +53,7 @@ public:
~CLogWindow();
void SaveSettings();
void Log(LogTypes::LOG_LEVELS, const char *text);
void Log(LogTypes::LOG_LEVELS, const char *text) override;
int x, y, winpos;

View File

@ -22,10 +22,10 @@ public:
CFrame* GetCFrame();
private:
bool OnInit();
int OnExit();
void OnFatalException();
bool Initialize(int& c, wxChar **v);
bool OnInit() override;
int OnExit() override;
void OnFatalException() override;
bool Initialize(int& c, wxChar **v) override;
void InitLanguageSupport();
void MacOpenFile(const wxString &fileName);

View File

@ -67,19 +67,19 @@ public:
void OnStart(wxCommandEvent& event);
// implementation of NetPlayUI methods
void BootGame(const std::string& filename);
void StopGame();
void BootGame(const std::string& filename) override;
void StopGame() override;
void Update();
void AppendChat(const std::string& msg);
void Update() override;
void AppendChat(const std::string& msg) override;
void OnMsgChangeGame(const std::string& filename);
void OnMsgStartGame();
void OnMsgStopGame();
void OnMsgChangeGame(const std::string& filename) override;
void OnMsgStartGame() override;
void OnMsgStopGame() override;
static NetPlayDiag *&GetInstance() { return npd; };
bool IsRecording();
bool IsRecording() override;
private:
DECLARE_EVENT_TABLE()