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

@@ -29,9 +29,9 @@ public:
void Destroy() override; // vtable+0x08
void DestroyButNotDirectDraw() override; // vtable+0x0c
inline MxAssignedDevice* AssignedDevice() { return this->m_assignedDevice; }
inline IDirect3D2* Direct3D() { return this->m_pDirect3d; }
inline IDirect3DDevice2* Direct3DDevice() { return this->m_pDirect3dDevice; }
MxAssignedDevice* AssignedDevice() { return this->m_assignedDevice; }
IDirect3D2* Direct3D() { return this->m_pDirect3d; }
IDirect3DDevice2* Direct3DDevice() { return this->m_pDirect3dDevice; }
BOOL SetDevice(MxDeviceEnumerate& p_deviceEnumerate, MxDriver* p_driver, Direct3DDeviceInfo* p_device);

View File

@@ -31,10 +31,10 @@ public:
virtual void Destroy(); // vtable+0x08
virtual void DestroyButNotDirectDraw(); // vtable+0x0c
inline IDirectDraw* DirectDraw() { return m_pDirectDraw; }
inline IDirectDrawSurface* FrontBuffer() { return m_pFrontBuffer; }
inline IDirectDrawSurface* BackBuffer() { return m_pBackBuffer; }
inline IDirectDrawClipper* Clipper() { return m_pClipper; }
IDirectDraw* DirectDraw() { return m_pDirectDraw; }
IDirectDrawSurface* FrontBuffer() { return m_pFrontBuffer; }
IDirectDrawSurface* BackBuffer() { return m_pBackBuffer; }
IDirectDrawClipper* Clipper() { return m_pClipper; }
BOOL IsFullScreen() { return m_bFullScreen; }

View File

@@ -44,9 +44,9 @@ public:
MxAssignedDevice();
~MxAssignedDevice();
inline unsigned int GetFlags() { return m_flags; }
inline BOOL GetHardwareMode() { return ((int) m_flags << 31) >> 31; }
inline D3DDEVICEDESC& GetDesc() { return m_desc; }
unsigned int GetFlags() { return m_flags; }
BOOL GetHardwareMode() { return ((int) m_flags << 31) >> 31; }
D3DDEVICEDESC& GetDesc() { return m_desc; }
friend class MxDirect3D;