Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Added ECLAIR to the list of the tools that provide support for this rule.

...

Tool

Version

Checker

Description

Section

GCC

Include Page
c:GCC_V
c:GCC_V

 

Section

option Option -Wparentheses warns if a comparison like x<=y<=z appears. This warning is also enabled by -Wall.

Section

ECLAIR

Include Page
c:ECLAIR_V
c:ECLAIR_V
Section

exprprns

Section

Fully Implemented

Related Guidelines

CERT C++ Secure Coding Standard: EXP17-CPP. Treat relational and equality operators as if they were nonassociative

...