SHA256
1
0
forked from pool/cppcheck

- 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/package/show/devel:tools/cppcheck?expand=0&rev=94
This commit is contained in:
Dirk Mueller 2022-06-07 21:32:35 +00:00 committed by Git OBS Bridge
parent c4ad8f7556
commit e67c99d77b
4 changed files with 28 additions and 4 deletions

View File

@ -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
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:57298f3b805f0eb816a04115fbc70e701f75083cfb0305a44246e365cf27606a
size 3919580

View File

@ -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>

View File

@ -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