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:
Changed interface:
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.