The AST was much improved, as was the ValueFlow analysis. New checks include to compare pointers with ' 0' and assigning boolean expression to floating point variables. The different IDs will allow users to suppress different const warning based on variable type. The constParameter and constVariable checks have been split into 3 different IDs based on if the variable is a pointer, a reference, or local. Please enable it explicitly if you require it. "-enable=information" will no longer implicitly enable "missingInclude" starting with 2.16. "missingInclude" and "missingIncludeSystem" will now cause the "-error-exitcode" to be applied "missingInclude" and "missingIncludeSystem" are reported with "-j" is 1 and processes are used in the backend (default in non-Windows binaries) They will always be issued in the regular analysis if "missingInclude" is enabled. It is no longer necessary to run "-check-config" to get detailed "missingInclude" and "missingIncludeSystem" messages. If you feel that you can wait longer on results you can use -check-level=exhaustive. The new option -check-level= has been added that controls how much checking is made by Cppcheck. Please use 'unspecified' instead.ĭo not replace relative paths with absolute paths in suppressions in the project file dialog cppcheck projects has been deprecated and will be removed in Cppcheck 2.14. Improve valueflow after pushing to container ValueFlow can infer possible values from possible symbolic values ValueFlow will now forward the container sizes being returned from a function ValueFlow can evaluate the return value of functions even when conditionals are used Improve useStlAlgorithm check to handle many more conditions in the loop for any_of, all_of and none_of algorithms
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |