astyle formatting
[ci skip]
This commit is contained in:
parent
7bfd686f04
commit
259724d6e3
@ -1539,7 +1539,8 @@ std::string Token::astStringVerbose() const
|
|||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string Token::astStringZ3() const {
|
std::string Token::astStringZ3() const
|
||||||
|
{
|
||||||
if (!astOperand1())
|
if (!astOperand1())
|
||||||
return str();
|
return str();
|
||||||
if (!astOperand2())
|
if (!astOperand2())
|
||||||
|
@ -1022,8 +1022,7 @@ static void compilePrecedence3(Token *&tok, AST_state& state)
|
|||||||
}
|
}
|
||||||
|
|
||||||
Token* leftToken = tok;
|
Token* leftToken = tok;
|
||||||
while (Token::Match(tok->next(), ":: %name%"))
|
while (Token::Match(tok->next(), ":: %name%")) {
|
||||||
{
|
|
||||||
Token* scopeToken = tok->next(); //The ::
|
Token* scopeToken = tok->next(); //The ::
|
||||||
scopeToken->astOperand1(leftToken);
|
scopeToken->astOperand1(leftToken);
|
||||||
scopeToken->astOperand2(scopeToken->next());
|
scopeToken->astOperand2(scopeToken->next());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user