Versions Compared

Key

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

...

Tool

Version

Checker

Description

Clang
Include Page
Clang_V
Clang_V
-Wreserved-id-macro
-Wuser-defined-literals 
The -Wreserved-id-macro flag is not enabled by default or with -Wall, but is enabled with -Weverything. This flag does not
catch all instances of this rule, such as redefining reserved names.
CodeSonar
Include Page
CodeSonar_V
CodeSonar_V

LANG.ID.NU.MK

LANG.STRUCT.DECL.RESERVED

Macro name is C keyword

Declaration of reserved name

LDRA tool suite
Include Page
LDRA_V
LDRA_V

86 S, 218 S, 219 S, 580 S

Fully implemented

Parasoft C/C++test9.5MISRA2008-17_0_1_{a, b} 
SonarQube C/C++ Plugin
Include Page
SonarQube C/C++ Plugin_V
SonarQube C/C++ Plugin_V
S978 

...