You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-06 12:20:30 +00:00
Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks
Which means that reduz' beloved style which we all became used to will now be changed automatically to remove the first empty line. This makes us lean closer to 1TBS (the one true brace style) instead of hybridating it with some Allman-inspired spacing. There's still the case of braces around single-statement blocks that needs to be addressed (but clang-format can't help with that, but clang-tidy may if we agree about it). Part of #33027.
This commit is contained in:
@@ -34,7 +34,6 @@
|
||||
#include "visual_script.h"
|
||||
|
||||
class VisualScriptReturn : public VisualScriptNode {
|
||||
|
||||
GDCLASS(VisualScriptReturn, VisualScriptNode);
|
||||
|
||||
Variant::Type type;
|
||||
@@ -71,7 +70,6 @@ public:
|
||||
};
|
||||
|
||||
class VisualScriptCondition : public VisualScriptNode {
|
||||
|
||||
GDCLASS(VisualScriptCondition, VisualScriptNode);
|
||||
|
||||
protected:
|
||||
@@ -99,7 +97,6 @@ public:
|
||||
};
|
||||
|
||||
class VisualScriptWhile : public VisualScriptNode {
|
||||
|
||||
GDCLASS(VisualScriptWhile, VisualScriptNode);
|
||||
|
||||
protected:
|
||||
@@ -127,7 +124,6 @@ public:
|
||||
};
|
||||
|
||||
class VisualScriptIterator : public VisualScriptNode {
|
||||
|
||||
GDCLASS(VisualScriptIterator, VisualScriptNode);
|
||||
|
||||
protected:
|
||||
@@ -155,7 +151,6 @@ public:
|
||||
};
|
||||
|
||||
class VisualScriptSequence : public VisualScriptNode {
|
||||
|
||||
GDCLASS(VisualScriptSequence, VisualScriptNode);
|
||||
|
||||
int steps;
|
||||
@@ -188,7 +183,6 @@ public:
|
||||
};
|
||||
|
||||
class VisualScriptSwitch : public VisualScriptNode {
|
||||
|
||||
GDCLASS(VisualScriptSwitch, VisualScriptNode);
|
||||
|
||||
struct Case {
|
||||
@@ -230,7 +224,6 @@ public:
|
||||
};
|
||||
|
||||
class VisualScriptTypeCast : public VisualScriptNode {
|
||||
|
||||
GDCLASS(VisualScriptTypeCast, VisualScriptNode);
|
||||
|
||||
StringName base_type;
|
||||
|
||||
Reference in New Issue
Block a user