From 259724d6e33f1a4e3147ba14dcad27975292761f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Mon, 18 May 2020 19:53:35 +0200 Subject: [PATCH] astyle formatting [ci skip] --- lib/token.cpp | 3 ++- lib/tokenlist.cpp | 3 +-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/token.cpp b/lib/token.cpp index fdf5f6670..6e241a77b 100644 --- a/lib/token.cpp +++ b/lib/token.cpp @@ -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()) diff --git a/lib/tokenlist.cpp b/lib/tokenlist.cpp index 05956f146..7564b098f 100644 --- a/lib/tokenlist.cpp +++ b/lib/tokenlist.cpp @@ -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());