2023-08-18 11:59:14 +02:00
Release Notes for Cppcheck 2.12
2021-10-05 08:28:19 +02:00
2023-06-22 13:53:40 +02:00
New checks:
2023-08-11 16:49:49 +02:00
- uselessOverride finds overriding functions that either duplicate code from or delegate back to the base class implementation
2023-08-20 22:32:41 +02:00
- knownPointerToBool finds pointer to bool conversions that are always true or false
2023-06-22 13:53:40 +02:00
Improved checking:
2023-08-11 16:49:49 +02:00
- truncLongCastAssignment and truncLongCastReturn check additional types, including float/double/long double
- duplInheritedMember also reports duplicated member functions
- constParameter*/constVariable* checks find more instances of pointers/references that can be const, e.g. when calling library functions
2023-06-22 13:53:40 +02:00
GUI:
2023-08-31 18:28:47 +02:00
- Show in statistics which checkers have been activated in latest analysis
- Make it more visible if there has been critical errors that caused checkers to be skipped
2023-06-22 13:53:40 +02:00
Changed interface:
2023-08-31 18:28:47 +02:00
- Write how many checkers was activated after a run
- Added --checkers-report that can be used to generate a report in a file that shows what checkers was activated and disabled
2023-06-22 13:53:40 +02:00
2023-08-09 22:40:15 +02:00
Deprecations:
- The qmake build system has been deprecated and will be removed in a future version.
2023-08-18 11:59:14 +02:00
- Command-line option '--template <template>' is deprecated and will be removed in 2.13 - please use '--template=<template>' instead.
- Command-line option '--template-location <template>' is deprecated and will be removed in 2.13 - please use '--template-location=<template>' instead.
2023-08-09 22:40:15 +02:00
2023-06-22 13:53:40 +02:00
Other:
2023-08-09 22:40:15 +02:00
- "USE_QT6=On" will no longer fallback to Qt5 when Qt6 is not found.
2023-08-31 13:33:29 +02:00
- When the execution of an addon fails with an exitcode it will now result in an 'internalError' instead of being silently ignored.