Skip to content

Commit adb7623

Browse files
committed
runformat
1 parent 36a55d2 commit adb7623

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

lib/symboldatabase.cpp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1629,12 +1629,12 @@ namespace {
16291629
if (key.operand1 > key.operand2 && key.operand2 &&
16301630
Token::Match(tok->astParent(), "%or%|%oror%|+|*|&|&&|^|==|!=")) {
16311631
// In C++ the order of operands of + might matter
1632-
if (!cpp ||
1633-
key.parentOp != "+" ||
1634-
!tok->astParent()->valueType() ||
1635-
tok->astParent()->valueType()->isIntegral() ||
1636-
tok->astParent()->valueType()->isFloat() ||
1637-
tok->astParent()->valueType()->pointer > 0)
1632+
if (!cpp ||
1633+
key.parentOp != "+" ||
1634+
!tok->astParent()->valueType() ||
1635+
tok->astParent()->valueType()->isIntegral() ||
1636+
tok->astParent()->valueType()->isFloat() ||
1637+
tok->astParent()->valueType()->pointer > 0)
16381638
std::swap(key.operand1, key.operand2);
16391639
}
16401640

0 commit comments

Comments
 (0)