cppcheck icon indicating copy to clipboard operation
cppcheck copied to clipboard

static analysis of C/C++ code

Results 369 cppcheck issues
Sort by recently updated
recently updated
newest added

This only refactors the code and does not functional changes. There's also some bugs/missing features I could have tackled but I will do that in a separate PR. The goal...

I have been using this for quite a while now and made adjustments so it will also work with commit hashes so I think this is ready for a review...

This allows both to build binaries and run the analysis successfully. Obviously they are not fully supported yet so I added a check which prevents uploads from happening for now....

Doing `match(tok, "**;")` will match until the semicolon. This also fixes the incorrect slicing for `!!` match as well.

I'd like to propose a new performance check. I noticed in 2 projects some bad pattern: instead of calling `memcpy` authors prefer hand-made for loop with copying byte-by-byte. Examples: https://github.com/openvinotoolkit/openvino/pull/10996/files...

This pull request is related to #4269, which contained iterator implementation. Implementing a valid C++ iterator brings some complications, so I decided to put that pull request on hold and...

Another piece of preparation before applying `misc-const-correctness` fixes.