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 PR adds a literal to boolean style check. ```cpp bool x = 1; // Warning: Boolean variable assigned a numeric literal '1'. Consider using 'true' instead. bool y =...

XML-cached errors containing multiple symbol names are not stored correctly in the internal string data member with newline delimiters. This results in the symbol names becoming concatenated. In turn, suppressing...

Explain to users how to finally install cppcheck after they build it using cmake. By using: `cmake --install .`

we have mostly 4 threads available per runner but using `-n auto` is only using 2

Example output: ``` Checking tickets/13378.c ... Checking tickets/13378.c: START... tickets/13378.c:3:5: error: literal used as function. Macro 'START' expands to '1'. Use -DSTART=... to specify a value, or -USTART to undefine...

In reference to https://github.com/danmar/cppcheck/pull/6595.