(clang-format) Add EmptyLineBeforeAccessModifier (#300)

This commit is contained in:
Christian Semmler 2023-11-24 12:10:09 -05:00 committed by GitHub
parent 1d3ce6b0aa
commit db77350169
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 0 deletions

View File

@ -16,6 +16,7 @@ BraceWrapping:
AfterStruct: false
ConstructorInitializerIndentWidth: 4
ContinuationIndentWidth: 4
EmptyLineBeforeAccessModifier: Always
IncludeBlocks: Regroup
IndentAccessModifiers: false
IndentWidth: 4

View File

@ -11,6 +11,7 @@ public:
LegoObjectFactory();
virtual MxCore* Create(const char* p_name) override; // vtable 0x14
virtual void Destroy(MxCore* p_object) override; // vtable 0x18
private:
#define X(V) MxAtomId m_id##V;
FOR_LEGOOBJECTFACTORY_OBJECTS(X)

View File

@ -26,6 +26,7 @@ public:
}
virtual void Destroy() override; // vtable+0x38
private:
void Init();
void Destroy(MxBool p_fromDestructor);

View File

@ -38,6 +38,7 @@ public:
virtual MxCore* Create(const char* p_name); // vtable 0x14
virtual void Destroy(MxCore* p_object); // vtable 0x18
private:
#define X(V) MxAtomId m_id##V;
FOR_MXOBJECTFACTORY_OBJECTS(X)