Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

C programmers commonly make errors regarding the precedence rules of C operators due to the unintuitive low-precedence levels of &, |, ^, <<, and >>. Mistakes regarding precedence rules can be avoided by the suitable use of parentheses. Using parentheses defensively reduces errors and, if not taken to excess, makes the code more readable.

Section 6.5 of the C standard Standard [ISO/IEC 9899:2011] defines the precedence of operation by the order of the subclauses.

...

LDRA tool suiteLDRALDRA361 S

Tool

Version

Checker

Description

ECLAIR

Include Page
ECLAIR_V
ECLAIR_V

exprprns

Fully implemented

ECLAIRLDRA tool suite

Include Page
ECLAIRLDRA_VECLAIR
LDRA_V

exprprns361 S

Fully implemented

PRQA QA-C
Include Page
PRQA_V
PRQA_V

3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401

Fully implemented

...