Skip to content

Commit f782538

Browse files
committed
Reformat file
1 parent 7a5d495 commit f782538

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

cpp/autosar/src/rules/M5-0-20/BitwiseOperatorOperandsHaveDifferentUnderlyingType.ql

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ predicate isBinaryBitwiseOperation(Operation o, VariableAccess l, VariableAccess
3131
}
3232

3333
from
34-
Operation o, VariableAccess left, VariableAccess right, Type leftUnderlyingType, Type rightUnderlyingType
34+
Operation o, VariableAccess left, VariableAccess right, Type leftUnderlyingType,
35+
Type rightUnderlyingType
3536
where
3637
not isExcluded(o, ExpressionsPackage::bitwiseOperatorOperandsHaveDifferentUnderlyingTypeQuery()) and
3738
not o.isFromUninstantiatedTemplate(_) and
@@ -40,4 +41,5 @@ where
4041
rightUnderlyingType = MisraConversion::getUnderlyingType(right) and
4142
leftUnderlyingType != rightUnderlyingType
4243
select o,
43-
"Operands of the '" + o.getOperator() + "' operation have different underlying types '" + leftUnderlyingType.getName() + "' and '" + rightUnderlyingType.getName() + "'."
44+
"Operands of the '" + o.getOperator() + "' operation have different underlying types '" +
45+
leftUnderlyingType.getName() + "' and '" + rightUnderlyingType.getName() + "'."

0 commit comments

Comments
 (0)