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

Macro values were adapted from https://github.com/boostorg/log/blob/develop/include/boost/log/sources/global_logger_storage.hpp

I am a bit confused about the relationship of --project and --max-configs/--force. It it true that, for compile_commands.json, --max-configs=0 is implied? Multiple configs (Debug, Release, Win32, ...) are checked for...

As detailed in https://github.com/danmar/cppcheck/pull/4985#discussion_r1171846635 it doesn't provide much progress and adds unnecessary complexity to the `ErrorLogger` and `CppcheckExecutor`. We should probably remove `TokenImpl::mProgressValue` as well.

This is in preparation of using the shared code in `ThreadExecutor` and `ProcessExecutor`

Use the same logic as `ThreadExecutor` - processes will now be run in a separate thread. This might sound like overhead but increases the responsiveness when a process finishes and...

This is related to #5254. I have observed that if non-existent --cppcheck-build-dir is used, all file writes silently fail. Should we enable exceptions on std::ofstream(s)?