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

Fix handling of std::optional, operator* might be non const Also, there was an issue in detecting string iterators, the detection was relying on the container being templates, using the '>'...

As a follow-up to the discussion in PR4143, I am starting to provide a few fixes/improvements from LCppC to cppcheck.

Using the `unusedFunction` self-check for profiling gives us a very basic case which involves the core functionality without the valueflow or most of the checks which should be a pretty...

Severity: Style This checker is made to find data members which are defined as public in the code and to notify the user about them. Then, the user may consider...

Severity: Style This checker checks whether there is an operation or an assignment of a variable represented by more bytes, in a variable represented by fewer bytes. It is possible...

Severity: Performance The purpose of this checker is to make sure that the move operation is indeed used in the move constructor.

This is an existing checker that was made to find cases where the operator "++" is used on such variables. We have improved this checker so it will work for...

This is the first of two PR introducing the usage of `SmallVector` in our code. I adjusted the value locally based on profiling it with `callgrind`. When using Clang and...