From c1026389704d1afc0d427f3e3abb2fc4977d002c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Sun, 17 Jun 2018 08:45:26 +0200 Subject: [PATCH] astyle formatting --- lib/symboldatabase.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/symboldatabase.cpp b/lib/symboldatabase.cpp index 706942638..f25716a41 100644 --- a/lib/symboldatabase.cpp +++ b/lib/symboldatabase.cpp @@ -4854,7 +4854,7 @@ void SymbolDatabase::setValueType(Token *tok, const ValueType &valuetype) if (vt1) setValueType(parent, *vt1); else if (mIsCpp && ((Token::Match(parent->tokAt(-3), "%var% ; %var% =") && parent->strAt(-3) == parent->strAt(-1)) || - Token::Match(parent->tokAt(-1), "%var% ="))) { + Token::Match(parent->tokAt(-1), "%var% ="))) { Token *var1Tok = parent->strAt(-2) == ";" ? parent->tokAt(-3) : parent->tokAt(-1); Token *autoTok = nullptr; if (Token::Match(var1Tok->tokAt(-2), ";|{|}|(|const auto"))