astyle formatting

[ci skip]
This commit is contained in:
Daniel Marjamäki 2019-10-05 16:32:43 +02:00
parent cf1c766292
commit 954e98cc03
1 changed files with 1 additions and 1 deletions

View File

@ -3503,7 +3503,7 @@ bool isLifetimeBorrowed(const Token *tok, const Settings *settings)
// TODO: Move logic to ValueType
if (!vtParent && Token::simpleMatch(tok->astParent(), "return")) {
const Scope* fscope = tok->scope();
while(fscope && !fscope->function)
while (fscope && !fscope->function)
fscope = fscope->nestedIn;
if (fscope && fscope->function && fscope->function->retDef) {
svt = ValueType::parseDecl(fscope->function->retDef, settings);