mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +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:
parent
4b2c79c471
commit
c8994b56f9
85 changed files with 382 additions and 251 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue