Skip to content

Commit 2f1e920

Browse files
Fix metadata inconsistency
1 parent 0822b06 commit 2f1e920

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

cpp/misra/src/rules/RULE-8-14-1/ShortCircuitedPersistentSideEffect.ql

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
/**
22
* @id cpp/misra/short-circuited-persistent-side-effect
3-
* @name RULE-8-14-1: The right-hand operand of a logical && or operator should not contain persistent side effects
3+
* @name RULE-8-14-1: The right-hand operand of a logical && or || operator should not contain persistent side effects
44
* @description The right-hand operand of a logical && or || operator should not contain persistent
5-
* side effects, as this may violate developer intent and expectations.
5+
* side effects, as such side effects will only conditionally occur, which may violate
6+
* developer intent and/or expectations.
67
* @kind problem
78
* @precision high
89
* @problem.severity error

0 commit comments

Comments
 (0)