The NetBSD Project

CVS log for pkgsrc/devel/cppcheck/patches/Attic/patch-lib_symboldatabase.cpp

[BACK] Up to [cvs.NetBSD.org] / pkgsrc / devel / cppcheck / patches

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: MAIN


Revision 1.2, Mon Aug 22 07:53:17 2022 UTC (3 months, 2 weeks ago) by markd
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED

cppcheck: update to 2.8

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

Cppcheck-2.7
* Add support for container views.
* Various checker improvements.
* Fixed false positives.

Cppcheck-2.6
* Color output for diagnostics are added for unix-based platforms.
* Added symbolic analysis for ValueFlow. A simple delta is used to compute the
  difference between two unknown variable.
* Rules using the "define" tokenlist can also match #include as well.
* Library <function> tags can now use <container> tag, so free functions that
  accept containers such as std::size, std::empty, std::begin, std::end, etc. can
  specify the yields or action for the container.
* Library <smart-pointer> tag can specify a <unique> tag for smart pointers that
  have unique ownership.
* Fixed problems when --cppcheck-build-dir is used, that should now work better.
* htmlreport can now output author information (using git blame)
* More warnings about variables that is not const but can be const

Revision 1.1 / (download) - annotate - [select for diffs], Fri Jul 9 10:50:37 2021 UTC (17 months ago) by markd
Branch: MAIN
CVS Tags: pkgsrc-2022Q2-base, pkgsrc-2022Q2, pkgsrc-2022Q1-base, pkgsrc-2022Q1, pkgsrc-2021Q4-base, pkgsrc-2021Q4, pkgsrc-2021Q3-base, pkgsrc-2021Q3

cppcheck: fix build with gcc-11

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>