mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
Style: apply clang-format (5.0.0) to current source
This commit is contained in:
@@ -771,7 +771,7 @@ int GDCompiler::_parse_expression(CodeGen &codegen, const GDParser::Node *p_expr
|
||||
ERR_FAIL_COND_V(on->arguments.size() != 2, -1);
|
||||
|
||||
if (on->arguments[0]->type == GDParser::Node::TYPE_OPERATOR && (static_cast<GDParser::OperatorNode *>(on->arguments[0])->op == GDParser::OperatorNode::OP_INDEX || static_cast<GDParser::OperatorNode *>(on->arguments[0])->op == GDParser::OperatorNode::OP_INDEX_NAMED)) {
|
||||
//SET (chained) MODE!!
|
||||
//SET (chained) MODE!!
|
||||
|
||||
#ifdef DEBUG_ENABLED
|
||||
if (static_cast<GDParser::OperatorNode *>(on->arguments[0])->op == GDParser::OperatorNode::OP_INDEX_NAMED) {
|
||||
|
||||
@@ -148,7 +148,7 @@ Variant GDFunction::call(GDInstance *p_instance, const Variant **p_args, int p_a
|
||||
|
||||
#ifdef DEBUG_ENABLED
|
||||
|
||||
//GDScriptLanguage::get_singleton()->calls++;
|
||||
//GDScriptLanguage::get_singleton()->calls++;
|
||||
|
||||
#endif
|
||||
|
||||
@@ -1265,8 +1265,8 @@ void GDFunction::clear() {
|
||||
|
||||
}
|
||||
#endif
|
||||
GDFunction::GDFunction()
|
||||
: function_list(this) {
|
||||
GDFunction::GDFunction() :
|
||||
function_list(this) {
|
||||
|
||||
_stack_size = 0;
|
||||
_call_size = 0;
|
||||
|
||||
@@ -795,8 +795,8 @@ void GDScript::get_script_signal_list(List<MethodInfo> *r_signals) const {
|
||||
#endif
|
||||
}
|
||||
|
||||
GDScript::GDScript()
|
||||
: script_list(this) {
|
||||
GDScript::GDScript() :
|
||||
script_list(this) {
|
||||
|
||||
_static_ref = this;
|
||||
valid = false;
|
||||
|
||||
@@ -1026,7 +1026,7 @@ void GDTokenizerText::advance(int p_amount) {
|
||||
_advance();
|
||||
}
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
//////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#define BYTECODE_VERSION 10
|
||||
|
||||
|
||||
Reference in New Issue
Block a user