Menu

cppcheck support for C++ Core Guidelines

John Hagen
2016-01-01
2016-01-04
  • Daniel Marjamäki

    Cppcheck is not good at stylistic rules. The Cppcheck data does not have the fidelity required to detect various violations. So as far as I know, it wouldn't be possible to add cppcheck checkers for all isocpp rules.

    Stylistic rules that rejects some common coding practices can't be added in a builtin checker - that is against Cppcheck philosophy. However they can be implemented in a Cppcheck addon.

    I have no goal to add a isocpp addon. But if anybody wants to work on it feel free to do it - I would be happy to add that addon.

    There might be some good rule in the isocpp that could be added as a builtin checker. If it detects bugs and does not cause false positives for valid code. If you see such rule let us know.

     

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.