Cppcheck v1.88 Release Notes
Release Date: 2019-06-29 // over 4 years ago-
๐ New checks:
- Comparing pointers that point to different objects
- โ Address of local variable 'x' is accessed at non-zero index
- STL usage: unnecessary search before insertion
- Duplicate expression for condition and assignment: if (x==3) x=3;
โ Added --library configuration files for:
- cppunit
- libcerror
- nspr
- opengl
- sqlite3
๐ Better handling of C++14 and C++17
๐ป Command line:
- ๐ New command line option --addon used to run addons directly from Cppcheck.
- Some advanced options are only available in GUI:
- remove unused declarations in header files to speedup analysis
- remove unused templates to speedup analysis
- when checking visual studio project, only check 1 configuration
- max whole-program-analysis call stack depth
๐ป To get these features in command line tool, create a GUI project file and import that on command line using --project.
GUI:
- ๐ started implementing theme support
๐ Makefile:
๐ Please use MATCHCOMPILER=yes instead of SRCDIR=build when compiling to enable the match compiler.Cert:
- โ add check exp15-c
- โ add check str03-c
- โ add check str05-c
- โ add check str07-c
Misra:
- โ Add check 17.7
- โ Add check 20.7
- โ Add check 20.10