Menu

cppcheck-1.60

new checks:
* dereference iterator and then checking it in condition: 'if (std::isalpha(*i) && i != str.end()) { }'
* calling pure virtual function from constructor/destructor
* assert() condition calls function with side effects

improved checking:
* improved struct member leaks checking
* improved handling of variable initialisation in 'reassignment of variable (first assignment is redundant)' check
* better 'Prefer prefix ++/-- operators' checking for iterators
* handle more complicated patterns in checkIncorrectStringCompare

Lots of false positives and bugs have been fixed.

Posted by Daniel Marjamäki 2013-06-01

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.