From acdc62f8f06fe63dc6e5f21e3d36b6f463cf0169 Mon Sep 17 00:00:00 2001 From: orbitcowboy Date: Thu, 26 Mar 2020 17:03:21 +0100 Subject: [PATCH] Formatted the code. There are no functional changes [ci skip] --- lib/checkautovariables.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/checkautovariables.cpp b/lib/checkautovariables.cpp index ca2d28fc3..189ece060 100644 --- a/lib/checkautovariables.cpp +++ b/lib/checkautovariables.cpp @@ -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))