SHA256
1
0
forked from pool/cppcheck

Accepting request 257962 from home:dalgaaf:branches:devel:tools

Update cppcheck to 1.67

OBS-URL: https://build.opensuse.org/request/show/257962
OBS-URL: https://build.opensuse.org/package/show/devel:tools/cppcheck?expand=0&rev=40
This commit is contained in:
Stephan Kulow 2014-10-22 14:41:14 +00:00 committed by Git OBS Bridge
parent 0a4c14d371
commit a51577503b
4 changed files with 49 additions and 4 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9469c23d39df5f03301fb0f9c29d75e9d63ed80d486cc6633145e3c95293c1b7
size 1064369

3
cppcheck-1.67.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6214c0cf0c11c83ecfae35f8cc8db4fa47389a77360919653d635612cefe2ab9
size 1084926

View File

@ -1,3 +1,48 @@
-------------------------------------------------------------------
Wed Oct 22 05:00:02 UTC 2014 - danny.al-gaaf@bisect.de
- update to 1.67:
* General changes:
- Library files have now a 'format' attribute. Format version
1 is assumed by default
- Cppcheck does no longer abort checking if unhandled
characters (Non-ASCII) are found
* New checks:
- Check for unused return values
- Detect shift by too many bits, signed integer overflow and
dangerous sign conversion
- Recommend usage of expm1(), log1p(), erfc()
- Division by sizeof() as parameter to memset/memcpy/
memmove/etc. as they expect a size in bytes
- Several new va_arg related checks:
-- Wrong parameter passed to va_start()
-- Reference passed to va_start()
-- Missing va_end()
-- Using va_list before it is opened
-- Subsequent calls to va_start/va_copy()
- Initialization by itself in initializer list
- Dead pointer usage when pointer alias local variable that
has gone out of scope
* Improvements:
- Support uniform initialization syntax (C++11)
- Much improvements to value flow analysis
- Improved AST creation (support placement new, C++-style
casts, templates, operator new[], ...)
- Improved lambda support
- Support GCC extension __attriute__((used)) and MSVC
extension __declspec(property)
- Better support for static member variables, inherited
variables and namespaces
- Improved typedef support where multiple variables are
declared at once
- Avoid checking code multiple times by calculating a checksum.
Duplicate preprocessor configurations are eliminated by this.
- Support C++03/C 'auto' keyword
- HTML report: display 'verbose' message using clickable
expandable divs
* Additionally, lots of false positives and bugs have been fixed
and several existing checks have been improved.
-------------------------------------------------------------------
Mon Sep 1 21:03:35 UTC 2014 - danny.al-gaaf@bisect.de

View File

@ -16,7 +16,7 @@
#
Name: cppcheck
Version: 1.66
Version: 1.67
Release: 0
License: GPL-3.0+
Summary: A tool for static C/C++ code analysis