astyle formatting

[ci skip]
This commit is contained in:
Daniel Marjamäki 2019-09-10 19:42:17 +02:00
parent dc0b3527ad
commit bee30b0ca2
2 changed files with 5 additions and 5 deletions

View File

@ -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();

View File

@ -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;