astyle formatting

[ci skip]
This commit is contained in:
Daniel Marjamäki 2020-05-18 19:53:35 +02:00
parent 7bfd686f04
commit 259724d6e3
2 changed files with 3 additions and 3 deletions

View File

@ -1539,7 +1539,8 @@ std::string Token::astStringVerbose() const
return ret;
}
std::string Token::astStringZ3() const {
std::string Token::astStringZ3() const
{
if (!astOperand1())
return str();
if (!astOperand2())

View File

@ -1022,8 +1022,7 @@ static void compilePrecedence3(Token *&tok, AST_state& state)
}
Token* leftToken = tok;
while (Token::Match(tok->next(), ":: %name%"))
{
while (Token::Match(tok->next(), ":: %name%")) {
Token* scopeToken = tok->next(); //The ::
scopeToken->astOperand1(leftToken);
scopeToken->astOperand2(scopeToken->next());