Skip to content

Commit 3b63618

Browse files
committed
Format
1 parent f297332 commit 3b63618

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

lib/programmemory.cpp

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -441,11 +441,12 @@ static void fillProgramMemoryFromAssignments(ProgramMemory& pm, const Token* tok
441441
pm.setValue(vartok, execute(valuetok, pm, settings));
442442
}
443443
}
444-
} else if (Token::simpleMatch(tok2, ")") && tok2->link() && Token::Match(tok2->link()->previous(), "assert|ASSERT ( !!)")) {
444+
} else if (Token::simpleMatch(tok2, ")") && tok2->link() &&
445+
Token::Match(tok2->link()->previous(), "assert|ASSERT ( !!)")) {
445446
const Token* cond = tok2->link()->astOperand2();
446-
if(!conditionIsTrue(cond, state, settings)) {
447+
if (!conditionIsTrue(cond, state, settings)) {
447448
// TODO: change to assert when we can propagate the assert, for now just bail
448-
if(conditionIsFalse(cond, state, settings))
449+
if (conditionIsFalse(cond, state, settings))
449450
return;
450451
programMemoryParseCondition(pm, cond, nullptr, settings, true);
451452
}

0 commit comments

Comments
 (0)