Page MenuHomeSolus

Update cppcheck to 2.5
ClosedPublic

Authored by silke on Jul 11 2021, 9:49 AM.
Tags
None
Referenced Files
F11066553: D11454.diff
Fri, Aug 11, 6:17 PM
F11020139: D11454.diff
Mon, Aug 7, 1:51 AM
F10950610: D11454.diff
Sun, Jul 16, 7:53 AM
F10943538: D11454.id.diff
Fri, Jul 14, 7:20 PM
F10897566: D11454.id27692.diff
Jul 2 2023, 7:53 AM
F10896755: D11454.id.diff
Jul 2 2023, 2:24 AM
F10844337: D11454.id27703.diff
Jun 10 2023, 8:43 PM
F10842147: D11454.id27692.diff
Jun 10 2023, 10:30 AM
Subscribers

Details

Summary

Release notes:

  • Parser
    • various fixes
    • checked that all features in c++11, c++14, c++17 are supported
    • c++20 support is improved but not complete yet
  • Core
    • improved library files, better knowledge about APIs
    • improved checks to detect more bugs
    • fixed checks to avoid unwanted warnings
  • Changed output
    • try to use relative paths when using compile databases, if compile database is accessed with relative path
    • updated XML; The file0 attribute is moved from <location> to <error></error></location>
  • Misra
    • fixed crashes and false positives
  • New checks
    • suspicious container/iterator assignment in condition
    • rethrow without current handled exception
Test Plan

Run cppcheck on a large codebase.

Diff Detail

Repository
R562 cppcheck
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

silke requested review of this revision.Jul 11 2021, 9:49 AM
JoshStrobl edited the summary of this revision. (Show Details)
JoshStrobl added a subscriber: JoshStrobl.

Cleaned up your spacing, you didn't need the extra newlines. Otherwise LGTM.

This revision is now accepted and ready to land.Jul 12 2021, 10:17 AM
This revision was automatically updated to reflect the committed changes.