...
This recommendation is related to EXP30-C. Do not depend on order of evaluation between sequence pointsfor side-effects, but it focuses on behavior that is nonportable or potentially confusing.
...
Recommendation | Severity | Likelihood | Remediation Cost | Priority | Level |
---|---|---|---|---|---|
EXP10-C | mediumMedium | probableProbable | mediumMedium | P8 | L2 |
Automated Detection
Tool | Version | Checker | Description | ||||||
---|---|---|---|---|---|---|---|---|---|
|
| Could detect violations of this recommendation by searching for the following pattern:
| |||||||
| EVALUATION_ORDER | Can detect the specific instance where a statement contains multiple side effects on the same value with an undefined evaluation order because the statement may behave differently with different compiler flags or different compilers or platforms | |||||||
| 35 D | Fully implemented | |||||||
PRQA QA-C |
| 3226 | Partially implemented |
...