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

@@ -28,8 +28,8 @@ public:
return clone;
} // vtable+0x04
inline LegoEventNotificationParam() : MxNotificationParam(c_notificationType0, NULL) {}
inline LegoEventNotificationParam(
LegoEventNotificationParam() : MxNotificationParam(c_notificationType0, NULL) {}
LegoEventNotificationParam(
NotificationId p_type,
MxCore* p_sender,
MxU8 p_modifier,
@@ -41,21 +41,21 @@ public:
{
}
inline LegoROI* GetROI() { return m_roi; }
inline MxU8 GetModifier() { return m_modifier; }
inline MxU8 GetKey() const { return m_key; }
LegoROI* GetROI() { return m_roi; }
MxU8 GetModifier() { return m_modifier; }
MxU8 GetKey() const { return m_key; }
// FUNCTION: LEGO1 0x10012190
inline MxS32 GetX() const { return m_x; }
MxS32 GetX() const { return m_x; }
// FUNCTION: LEGO1 0x100121a0
inline MxS32 GetY() const { return m_y; }
MxS32 GetY() const { return m_y; }
inline void SetROI(LegoROI* p_roi) { m_roi = p_roi; }
inline void SetModifier(MxU8 p_modifier) { m_modifier = p_modifier; }
inline void SetKey(MxU8 p_key) { m_key = p_key; }
inline void SetX(MxS32 p_x) { m_x = p_x; }
inline void SetY(MxS32 p_y) { m_y = p_y; }
void SetROI(LegoROI* p_roi) { m_roi = p_roi; }
void SetModifier(MxU8 p_modifier) { m_modifier = p_modifier; }
void SetKey(MxU8 p_key) { m_key = p_key; }
void SetX(MxS32 p_x) { m_x = p_x; }
void SetY(MxS32 p_y) { m_y = p_y; }
protected:
MxU8 m_modifier; // 0x0c