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;
};