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

An idea would be to provide a daca result file as input file. Depending on the data it could determine what to do without interaction.

I think the handling of a possible byte order marker in a VS solution file is not correct. `std::getline` reads just the 3 bytes of the BOM as any other...

This avoids the expensive C++-specific `Library::detect*()` calls in `parsedecl()` for C code. See https://trac.cppcheck.net/ticket/10663 and https://trac.cppcheck.net/ticket/11104 for more details of the underlying issues. There's possibly more parsing which could be...

This is basically a proper fix for `--check-library` displaying things unlike the quick fix I did in 7c5015d54e422b02d58452d958f1c359056236c1 which introduced additional `information` and `missingInclude` ('information' includes that) checks and messages...

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

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