2022-02-05 13:57:13 +01:00
|
|
|
release notes for cppcheck-2.8
|
2021-10-05 08:28:19 +02:00
|
|
|
|
2022-04-11 07:24:12 +02:00
|
|
|
- Lifetime analysis can now track lifetime across user-defined constructors when they are inline and using member initializer list.
|
|
|
|
- SymbolDatabase can now deduce iterator types from how they are specified in the library files.
|
|
|
|
- ValueFlow can evaluate class member functions that return known values.
|
|
|
|
- Improve duplicateValueTenary to not warn when used as an lvalue or when one branch has side effects
|
|
|
|
- Fix variableScope to not warn when variables are used in lambda functions
|
|
|
|
- Fix unassignedVariable warnings when using structured bindings
|
|
|
|
- Fix redundantInitialization warning when variable is used in a lambda
|
|
|
|
- Fix variableScope warnings when using if/while init-statement
|
|
|
|
- Improve lifetime analysis when returning variadic template expressions
|
|
|
|
- Detect more statements with constStatement
|
|
|
|
- Detect variableScope for more types
|
|
|
|
- Improvements to unreadVariable
|
2022-04-11 22:55:16 +02:00
|
|
|
- Detect more instances of C style casts
|
|
|
|
- Warn if the return value of new is discarded
|