Skip to content

Commit 814566f

Browse files
committed
Format
1 parent 49e3008 commit 814566f

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

lib/valueflow.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2594,7 +2594,7 @@ static void valueFlowLifetimeFunction(Token *tok, const TokenList &tokenlist, Er
25942594
const Token* varTok = args[iArg - 1];
25952595
if (varTok->variable() && varTok->variable()->isLocal())
25962596
LifetimeStore{ varTok, "Passed to '" + tok->str() + "'.", ValueFlow::Value::LifetimeKind::Address }.byRef(
2597-
tok->next(), tokenlist, errorLogger, settings);
2597+
tok->next(), tokenlist, errorLogger, settings);
25982598
}
25992599
}
26002600
}
@@ -6713,9 +6713,9 @@ static void valueFlowContainerSize(const TokenList& tokenlist,
67136713
if (const Function* func = funcTok->function()) {
67146714
if (const Variable* var = func->getArgumentVar(nArg)) {
67156715
if (var->valueType() && var->valueType()->container && var->valueType()->container->size_templateArgNo < 0) {
6716-
auto values = tok->tokType() == Token::Type::eString ?
6717-
std::vector<ValueFlow::Value>{makeContainerSizeValue(Token::getStrLength(tok))} :
6718-
getInitListSize(tok, var->valueType(), settings, true);
6716+
auto values = tok->tokType() == Token::Type::eString
6717+
? std::vector<ValueFlow::Value>{makeContainerSizeValue(Token::getStrLength(tok))}
6718+
: getInitListSize(tok, var->valueType(), settings, true);
67196719
ValueFlow::Value tokValue;
67206720
tokValue.valueType = ValueFlow::Value::ValueType::TOK;
67216721
tokValue.tokvalue = tok;

0 commit comments

Comments
 (0)