Skip to content

Commit 1d6c097

Browse files
committed
astyle formatting
[ci skip]
1 parent ee8d5b9 commit 1d6c097

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

lib/astutils.cpp

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1682,15 +1682,13 @@ bool isVariableChanged(const Token *tok, int indirect, const Settings *settings,
16821682
return false;
16831683
}
16841684

1685-
if (indirect > 0)
1686-
{
1685+
if (indirect > 0) {
16871686
// check for `*(ptr + 1) = new_value` case
16881687
parent = tok2->astParent();
16891688
while (parent && parent->isArithmeticalOp() && parent->isBinaryOp()) {
16901689
parent = parent->astParent();
16911690
}
1692-
if (Token::simpleMatch(parent, "*"))
1693-
{
1691+
if (Token::simpleMatch(parent, "*")) {
16941692
if (parent->astParent() && parent->astParent()->isAssignmentOp() &&
16951693
(parent->astParent()->astOperand1() == parent)) {
16961694
return true;

0 commit comments

Comments
 (0)