Add `switch (..) to style checker

This commit is contained in:
Mathias Baumann
2019-11-11 17:44:21 +01:00
parent 24f41bc979
commit e35a23bbcc
9 changed files with 11 additions and 11 deletions
+2 -2
View File
@@ -658,7 +658,7 @@ BoolResult FixedPointType::isExplicitlyConvertibleTo(Type const& _convertTo) con
TypeResult FixedPointType::unaryOperatorResult(Token _operator) const
{
switch(_operator)
switch (_operator)
{
case Token::Delete:
// "delete" is ok for all fixed types
@@ -2846,7 +2846,7 @@ unsigned FunctionType::sizeOnStack() const
unsigned size = 0;
switch(kind)
switch (kind)
{
case Kind::External:
case Kind::DelegateCall: