--- - branch: MAIN date: Mon Aug 22 07:53:17 UTC 2022 files: - new: '1.86' old: '1.85' path: pkgsrc/devel/cppcheck/Makefile pathrev: pkgsrc/devel/cppcheck/Makefile@1.86 type: modified - new: '1.9' old: '1.8' path: pkgsrc/devel/cppcheck/PLIST pathrev: pkgsrc/devel/cppcheck/PLIST@1.9 type: modified - new: '1.20' old: '1.19' path: pkgsrc/devel/cppcheck/distinfo pathrev: pkgsrc/devel/cppcheck/distinfo@1.20 type: modified - new: '0' old: '1.1' path: pkgsrc/devel/cppcheck/patches/patch-lib_programmemory.cpp pathrev: pkgsrc/devel/cppcheck/patches/patch-lib_programmemory.cpp@0 type: deleted - new: '0' old: '1.1' path: pkgsrc/devel/cppcheck/patches/patch-lib_symboldatabase.cpp pathrev: pkgsrc/devel/cppcheck/patches/patch-lib_symboldatabase.cpp@0 type: deleted - new: '0' old: '1.1' path: pkgsrc/devel/cppcheck/patches/patch-test_testsymboldatabase.cpp pathrev: pkgsrc/devel/cppcheck/patches/patch-test_testsymboldatabase.cpp@0 type: deleted id: 20220822T075317Z.5448e797d61caf2e535c363ef3bc17210e0c79f3 log: | 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 tags can now use 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 tag can specify a 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 module: pkgsrc subject: 'CVS commit: pkgsrc/devel/cppcheck' unixtime: '1661154797' user: markd