mirror of
https://github.com/isledecomp/isle.git
synced 2025-02-16 03:29:51 -05:00
(clang-format) Add EmptyLineBeforeAccessModifier (#300)
This commit is contained in:
parent
1d3ce6b0aa
commit
db77350169
4 changed files with 4 additions and 0 deletions
|
@ -16,6 +16,7 @@ BraceWrapping:
|
||||||
AfterStruct: false
|
AfterStruct: false
|
||||||
ConstructorInitializerIndentWidth: 4
|
ConstructorInitializerIndentWidth: 4
|
||||||
ContinuationIndentWidth: 4
|
ContinuationIndentWidth: 4
|
||||||
|
EmptyLineBeforeAccessModifier: Always
|
||||||
IncludeBlocks: Regroup
|
IncludeBlocks: Regroup
|
||||||
IndentAccessModifiers: false
|
IndentAccessModifiers: false
|
||||||
IndentWidth: 4
|
IndentWidth: 4
|
||||||
|
|
|
@ -11,6 +11,7 @@ public:
|
||||||
LegoObjectFactory();
|
LegoObjectFactory();
|
||||||
virtual MxCore* Create(const char* p_name) override; // vtable 0x14
|
virtual MxCore* Create(const char* p_name) override; // vtable 0x14
|
||||||
virtual void Destroy(MxCore* p_object) override; // vtable 0x18
|
virtual void Destroy(MxCore* p_object) override; // vtable 0x18
|
||||||
|
|
||||||
private:
|
private:
|
||||||
#define X(V) MxAtomId m_id##V;
|
#define X(V) MxAtomId m_id##V;
|
||||||
FOR_LEGOOBJECTFACTORY_OBJECTS(X)
|
FOR_LEGOOBJECTFACTORY_OBJECTS(X)
|
||||||
|
|
|
@ -26,6 +26,7 @@ public:
|
||||||
}
|
}
|
||||||
|
|
||||||
virtual void Destroy() override; // vtable+0x38
|
virtual void Destroy() override; // vtable+0x38
|
||||||
|
|
||||||
private:
|
private:
|
||||||
void Init();
|
void Init();
|
||||||
void Destroy(MxBool p_fromDestructor);
|
void Destroy(MxBool p_fromDestructor);
|
||||||
|
|
|
@ -38,6 +38,7 @@ public:
|
||||||
|
|
||||||
virtual MxCore* Create(const char* p_name); // vtable 0x14
|
virtual MxCore* Create(const char* p_name); // vtable 0x14
|
||||||
virtual void Destroy(MxCore* p_object); // vtable 0x18
|
virtual void Destroy(MxCore* p_object); // vtable 0x18
|
||||||
|
|
||||||
private:
|
private:
|
||||||
#define X(V) MxAtomId m_id##V;
|
#define X(V) MxAtomId m_id##V;
|
||||||
FOR_MXOBJECTFACTORY_OBJECTS(X)
|
FOR_MXOBJECTFACTORY_OBJECTS(X)
|
||||||
|
|
Loading…
Reference in a new issue