(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 @@ class LegoObjectFactory : public MxObjectFactory {
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 @@ class LegoPalettePresenter : public MxVideoPresenter {
}
virtual void Destroy() override; // vtable+0x38
private:
void Init();
void Destroy(MxBool p_fromDestructor);

View file

@ -38,6 +38,7 @@ class MxObjectFactory : public MxCore {
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)