parent
dc0b3527ad
commit
bee30b0ca2
|
@ -1228,7 +1228,7 @@ std::vector<const Token *> getArguments(const Token *ftok)
|
|||
if (Token::Match(tok, "%name% (|{"))
|
||||
tok = ftok->next();
|
||||
if (!Token::Match(tok, "(|{|["))
|
||||
return std::vector<const Token *>{};
|
||||
return std::vector<const Token *> {};
|
||||
const Token *startTok = tok->astOperand2();
|
||||
if (!startTok && tok->next() != tok->link())
|
||||
startTok = tok->astOperand1();
|
||||
|
|
|
@ -3570,10 +3570,10 @@ static void valueFlowLifetimeFunction(Token *tok, TokenList *tokenlist, ErrorLog
|
|||
}
|
||||
|
||||
static void valueFlowLifetimeConstructor(Token* tok,
|
||||
const Type* t,
|
||||
TokenList* tokenlist,
|
||||
ErrorLogger* errorLogger,
|
||||
const Settings* settings)
|
||||
const Type* t,
|
||||
TokenList* tokenlist,
|
||||
ErrorLogger* errorLogger,
|
||||
const Settings* settings)
|
||||
{
|
||||
if (!t)
|
||||
return;
|
||||
|
|
Loading…
Reference in New Issue