You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Style: Apply new changes from clang-format 8.0
It seems to stay compatible with formatting done by clang-format 6.0 and 7.0, so contributors can keep using those versions for now (they will not undo those changes).
This commit is contained in:
@@ -339,7 +339,8 @@ StringName GDScriptTokenizer::get_token_literal(int p_offset) const {
|
||||
return "null";
|
||||
case Variant::BOOL:
|
||||
return value ? "true" : "false";
|
||||
default: {}
|
||||
default: {
|
||||
}
|
||||
}
|
||||
}
|
||||
case TK_OP_AND:
|
||||
@@ -1302,7 +1303,8 @@ Vector<uint8_t> GDScriptTokenizerBuffer::parse_code_string(const String &p_code)
|
||||
|
||||
ERR_FAIL_V(Vector<uint8_t>());
|
||||
} break;
|
||||
default: {}
|
||||
default: {
|
||||
}
|
||||
};
|
||||
|
||||
token_array.push_back(token);
|
||||
|
||||
Reference in New Issue
Block a user