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:
Rémi Verschelde 2019-04-09 17:08:36 +02:00
parent 4b2c79c471
commit c8994b56f9
85 changed files with 382 additions and 251 deletions

View file

@ -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);