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
+1 -1
View File
@@ -29,7 +29,7 @@ using namespace langutil;
Error::Error(Type _type, SourceLocation const& _location, string const& _description):
m_type(_type)
{
switch(m_type)
switch (m_type)
{
case Type::DeclarationError:
m_typeName = "DeclarationError";