1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-09 12:50:35 +00:00

Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks

This commit is contained in:
Rémi Verschelde
2021-05-04 14:41:06 +02:00
parent 64a63e0861
commit b5e1e05ef2
1439 changed files with 1 additions and 34187 deletions

View File

@@ -106,7 +106,6 @@ public:
};
struct Node {
enum Type {
TYPE_CLASS,
TYPE_FUNCTION,
@@ -145,7 +144,6 @@ public:
struct OperatorNode;
struct ClassNode : public Node {
bool tool;
StringName name;
bool extends_used;
@@ -206,7 +204,6 @@ public:
};
struct FunctionNode : public Node {
bool _static;
MultiplayerAPI::RPCMode rpc_mode;
bool has_yield;
@@ -235,7 +232,6 @@ public:
};
struct BlockNode : public Node {
ClassNode *parent_class;
BlockNode *parent_block;
List<Node *> statements;
@@ -259,7 +255,6 @@ public:
};
struct TypeNode : public Node {
Variant::Type vtype;
TypeNode() { type = TYPE_TYPE; }
};
@@ -269,7 +264,6 @@ public:
};
struct IdentifierNode : public Node {
StringName name;
BlockNode *declared_block; // Simplify lookup by checking if it is declared locally
DataType datatype;
@@ -282,7 +276,6 @@ public:
};
struct LocalVarNode : public Node {
StringName name;
Node *assign;
OperatorNode *assign_op;
@@ -309,7 +302,6 @@ public:
};
struct ArrayNode : public Node {
Vector<Node *> elements;
DataType datatype;
virtual DataType get_datatype() const { return datatype; }
@@ -323,9 +315,7 @@ public:
};
struct DictionaryNode : public Node {
struct Pair {
Node *key;
Node *value;
};
@@ -409,7 +399,6 @@ public:
};
struct PatternNode : public Node {
enum PatternType {
PT_CONSTANT,
PT_BIND,
@@ -499,7 +488,6 @@ public:
};
struct Expression {
bool is_op;
union {
OperatorNode::Operator op;