Formatted the code. There are no functional changes [ci skip]

This commit is contained in:
orbitcowboy 2020-03-26 17:03:21 +01:00
parent e1d38a854b
commit acdc62f8f0
1 changed files with 1 additions and 1 deletions

View File

@ -505,7 +505,7 @@ void CheckAutoVariables::checkVarLifetimeScope(const Token * start, const Token
for (const ValueFlow::Value& val:tok->values()) {
if (!val.isLocalLifetimeValue())
continue;
for(const LifetimeToken& lt :getLifetimeTokens(getParentLifetime(val.tokvalue))) {
for (const LifetimeToken& lt :getLifetimeTokens(getParentLifetime(val.tokvalue))) {
const Token * tokvalue = lt.token;
if (Token::Match(tok->astParent(), "return|throw")) {
if (getPointerDepth(tok) < getPointerDepth(tokvalue))