diff --git a/lib/astutils.cpp b/lib/astutils.cpp index 50485bc16..d3fc35f7e 100644 --- a/lib/astutils.cpp +++ b/lib/astutils.cpp @@ -247,7 +247,8 @@ bool isTemporary(bool cpp, const Token* tok, const Library* library, bool unknow return false; if (Token::Match(tok, "&|<<|>>") && isLikelyStream(cpp, tok->astOperand1())) return false; - if (Token::simpleMatch(tok, "(") && tok->astOperand1() && (tok->astOperand2() || Token::simpleMatch(tok->next(), ")"))) { + if (Token::simpleMatch(tok, "(") && tok->astOperand1() && + (tok->astOperand2() || Token::simpleMatch(tok->next(), ")"))) { if (tok->valueType()) { return tok->valueType()->reference == Reference::None; }