Skip to content

Commit 11bac20

Browse files
committed
Reformat alert message according to style guide
1 parent 07840dd commit 11bac20

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

cpp/autosar/src/rules/M5-3-1/EachOperandOfTheOperatorTheLogicalAndOrTheLogicalOperatorsShallHaveTypeBool.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,4 @@ where
2929
rt = t.getUnderlyingType().getUnspecifiedType() and rt.getBaseType() instanceof BoolType
3030
) and
3131
not operand.isFromUninstantiatedTemplate(_)
32-
select operand, "bool operator called with a non-bool operand of type " + t.getName() + "."
32+
select operand, "Call to bool operator with a non-bool operand of type '" + t.getName() + "'."
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
| test.cpp:10:8:10:8 | 0 | bool operator called with a non-bool operand of type int. |
2-
| test.cpp:12:7:12:7 | 0 | bool operator called with a non-bool operand of type int. |
3-
| test.cpp:12:13:12:17 | ... + ... | bool operator called with a non-bool operand of type int. |
1+
| test.cpp:10:8:10:8 | 0 | Call to bool operator with a non-bool operand of type 'int'. |
2+
| test.cpp:12:7:12:7 | 0 | Call to bool operator with a non-bool operand of type 'int'. |
3+
| test.cpp:12:13:12:17 | ... + ... | Call to bool operator with a non-bool operand of type 'int'. |

0 commit comments

Comments
 (0)