Reformat code with clang format

This commit is contained in:
Clang Format
2023-11-19 15:28:38 +01:00
committed by Jan
parent 22e17272fd
commit 6b4f5d94a8
1099 changed files with 16763 additions and 18076 deletions

View File

@ -34,7 +34,7 @@ ParserLine CommentRemovingStreamProxy::NextLine()
m_inside_multi_line_comment = false;
}
}
else if(inString)
else if (inString)
{
if (isEscaped)
isEscaped = false;
@ -45,11 +45,11 @@ ParserLine CommentRemovingStreamProxy::NextLine()
}
else
{
if(c == '"')
if (c == '"')
{
inString = true;
}
else if(c == '/' && i + 1 < line.m_line.size())
else if (c == '/' && i + 1 < line.m_line.size())
{
const auto c1 = line.m_line[i + 1];
@ -58,7 +58,7 @@ ParserLine CommentRemovingStreamProxy::NextLine()
multiLineCommentStart = i;
m_inside_multi_line_comment = true;
}
else if(c1 == '/')
else if (c1 == '/')
{
m_next_line_is_comment = line.m_line[line.m_line.size() - 1] == '\\';
line.m_line.erase(i);
@ -68,7 +68,7 @@ ParserLine CommentRemovingStreamProxy::NextLine()
}
}
if(m_inside_multi_line_comment)
if (m_inside_multi_line_comment)
line.m_line.erase(multiLineCommentStart);
return line;