Revert "Formatted the code [ci skip]" (#3380)

This reverts commit 7a6d7f7c2d.
This commit is contained in:
Paul Fultz II 2021-08-03 10:53:30 -05:00 committed by GitHub
parent 7a6d7f7c2d
commit 6736ac7e3a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 10 deletions

View File

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