Formatted the code [ci skip]

This commit is contained in:
orbitcowboy 2021-08-03 06:33:54 +02:00
parent 08041e3a0b
commit 7a6d7f7c2d
2 changed files with 10 additions and 11 deletions

View File

@ -2605,10 +2605,10 @@ static Analyzer::Result valueFlowForward(Token* top,
const std::list<ValueFlow::Value>& values, const std::list<ValueFlow::Value>& values,
TokenList* const tokenlist, TokenList* const tokenlist,
const Settings* settings) const Settings* settings)
// *INDENT-ON* // *INDENT-ON* {
{
Analyzer::Result result{}; Analyzer::Result result{};
for (const ValueFlow::Value& v : values) { for (const ValueFlow::Value& v : values)
{
result.update(valueFlowGenericForward(top, makeAnalyzer(exprTok, v, tokenlist), settings)); result.update(valueFlowGenericForward(top, makeAnalyzer(exprTok, v, tokenlist), settings));
} }
return result; return result;
@ -6246,8 +6246,7 @@ static Analyzer::Result valueFlowContainerForwardRecursive(Token* top,
const Token* exprTok, const Token* exprTok,
const ValueFlow::Value& value, const ValueFlow::Value& value,
TokenList* tokenlist) TokenList* tokenlist)
// *INDENT-ON* // *INDENT-ON* {
{
ContainerExpressionAnalyzer a(exprTok, value, tokenlist); ContainerExpressionAnalyzer a(exprTok, value, tokenlist);
return valueFlowGenericForward(top, a, tokenlist->getSettings()); return valueFlowGenericForward(top, a, tokenlist->getSettings());
} }