welcome. not sure what to answer for this. I think at the moment you need to know more specifically what pattern in the code to look for. i.e. you can look for QThreads or std::threads .. etc but you need to do it specifically currently.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am new to the project, and trying my luck with adding my first rule . Goal is to to optimize some pointers passing to functions.
Would like to know if it is possible to detect passing a pointer to a thread?
Could not find anything in cppcheck regarding threads, can you advise on a way?
welcome. not sure what to answer for this. I think at the moment you need to know more specifically what pattern in the code to look for. i.e. you can look for QThreads or std::threads .. etc but you need to do it specifically currently.