Format
This commit is contained in:
parent
71bc79ac28
commit
c568e8ea78
|
@ -247,7 +247,8 @@ bool isTemporary(bool cpp, const Token* tok, const Library* library, bool unknow
|
||||||
return false;
|
return false;
|
||||||
if (Token::Match(tok, "&|<<|>>") && isLikelyStream(cpp, tok->astOperand1()))
|
if (Token::Match(tok, "&|<<|>>") && isLikelyStream(cpp, tok->astOperand1()))
|
||||||
return false;
|
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()) {
|
if (tok->valueType()) {
|
||||||
return tok->valueType()->reference == Reference::None;
|
return tok->valueType()->reference == Reference::None;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue