Add clang-tidy readability-redundant-inline-specifier (#1060)

* Add clang-tidy readability-redundant-inline-specifier

* fix

* Update CONTRIBUTING.md

* format

* fix
This commit is contained in:
Christian Semmler
2024-07-04 16:06:32 -07:00
committed by GitHub
parent 0873b782c5
commit bee101b1f4
186 changed files with 872 additions and 886 deletions

View File

@@ -10,12 +10,7 @@ class MxPresenter;
// SIZE 0x14
class MxActionNotificationParam : public MxNotificationParam {
public:
inline MxActionNotificationParam(
NotificationId p_type,
MxCore* p_sender,
MxDSAction* p_action,
MxBool p_reallocAction
)
MxActionNotificationParam(NotificationId p_type, MxCore* p_sender, MxDSAction* p_action, MxBool p_reallocAction)
: MxNotificationParam(p_type, p_sender)
{
MxDSAction* oldAction = p_action;
@@ -35,7 +30,7 @@ public:
}
// FUNCTION: LEGO1 0x10051050
inline ~MxActionNotificationParam() override
~MxActionNotificationParam() override
{
if (!m_realloc) {
return;
@@ -52,7 +47,7 @@ public:
return new MxActionNotificationParam(m_type, m_sender, m_action, m_realloc);
} // vtable+0x04
inline MxDSAction* GetAction() { return m_action; }
MxDSAction* GetAction() { return m_action; }
protected:
MxDSAction* m_action; // 0x0c
@@ -63,7 +58,7 @@ protected:
// SIZE 0x14
class MxStartActionNotificationParam : public MxActionNotificationParam {
public:
inline MxStartActionNotificationParam(
MxStartActionNotificationParam(
NotificationId p_type,
MxCore* p_sender,
MxDSAction* p_action,
@@ -80,12 +75,7 @@ public:
// SIZE 0x14
class MxEndActionNotificationParam : public MxActionNotificationParam {
public:
inline MxEndActionNotificationParam(
NotificationId p_type,
MxCore* p_sender,
MxDSAction* p_action,
MxBool p_reallocAction
)
MxEndActionNotificationParam(NotificationId p_type, MxCore* p_sender, MxDSAction* p_action, MxBool p_reallocAction)
: MxActionNotificationParam(p_type, p_sender, p_action, p_reallocAction)
{
}
@@ -101,7 +91,7 @@ public:
// SIZE 0x18
class MxType4NotificationParam : public MxActionNotificationParam {
public:
inline MxType4NotificationParam(MxCore* p_sender, MxDSAction* p_action, MxPresenter* p_unk0x14)
MxType4NotificationParam(MxCore* p_sender, MxDSAction* p_action, MxPresenter* p_unk0x14)
: MxActionNotificationParam(c_notificationType4, p_sender, p_action, FALSE)
{
m_unk0x14 = p_unk0x14;