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

@ -760,7 +760,8 @@ void Expression::exec_func(BuiltinFunc p_func, const Variant **p_inputs, Variant
*r_return = String(color);
} break;
default: {}
default: {
}
}
}
@ -1679,7 +1680,8 @@ Expression::ENode *Expression::_parse_expression() {
case TK_OP_BIT_OR: op = Variant::OP_BIT_OR; break;
case TK_OP_BIT_XOR: op = Variant::OP_BIT_XOR; break;
case TK_OP_BIT_INVERT: op = Variant::OP_BIT_NEGATE; break;
default: {};
default: {
};
}
if (op == Variant::OP_MAX) { //stop appending stuff