forked from pool/cppcheck
Accepting request 981215 from devel:tools
- update to 2.8: * 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 * Detect more instances of C style casts * Warn if the return value of new is discarded * The pre-ValueFlow uninitialized checker now uses a different ID as legacyUninitvar * Extended library format to exclude specific function argument values OBS-URL: https://build.opensuse.org/request/show/981215 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cppcheck?expand=0&rev=25
This commit is contained in:
commit
4ea59e9316
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:6c7ac29e57fa8b3ac7be224510200e579d5a90217e2152591ef46ffc947d8f78
|
||||
size 3940968
|
3
cppcheck-2.8.tar.gz
Normal file
3
cppcheck-2.8.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:57298f3b805f0eb816a04115fbc70e701f75083cfb0305a44246e365cf27606a
|
||||
size 3919580
|
@ -1,3 +1,27 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 7 21:17:15 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 2.8:
|
||||
* 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
|
||||
* Detect more instances of C style casts
|
||||
* Warn if the return value of new is discarded
|
||||
* The pre-ValueFlow uninitialized checker now uses a different ID as legacyUninitvar
|
||||
* Extended library format to exclude specific function argument values
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 19 13:30:47 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
|
@ -17,7 +17,7 @@
|
||||
|
||||
|
||||
Name: cppcheck
|
||||
Version: 2.7.5
|
||||
Version: 2.8
|
||||
Release: 0
|
||||
Summary: A tool for static C/C++ code analysis
|
||||
License: GPL-3.0-or-later
|
||||
|
Loading…
Reference in New Issue
Block a user