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
|
|
@ -1287,7 +1287,8 @@ void VisualScriptBuiltinFunc::exec_func(BuiltinFunc p_func, const Variant **p_in
|
|||
*r_return = String(color);
|
||||
|
||||
} break;
|
||||
default: {}
|
||||
default: {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1032,7 +1032,8 @@ VisualScriptExpression::ENode *VisualScriptExpression::_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
|
||||
|
|
|
|||
|
|
@ -1562,7 +1562,8 @@ public:
|
|||
case VisualScriptPropertySet::ASSIGN_OP_BIT_XOR: {
|
||||
value = Variant::evaluate(Variant::OP_BIT_XOR, value, p_argument);
|
||||
} break;
|
||||
default: {}
|
||||
default: {
|
||||
}
|
||||
}
|
||||
|
||||
if (index != StringName()) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue