-
Notifications
You must be signed in to change notification settings - Fork 1.5k
added environment variable UNUSEDFUNCTION_ONLY to make sure only the unusedFunction check is being executed
#4362
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
unusedFunction checkUNUSEDFUNCTION_ONLY hack to only perform the unusedFunction check
dd66980 to
da6273e
Compare
da6273e to
28c4139
Compare
UNUSEDFUNCTION_ONLY hack to only perform the unusedFunction checkUNUSEDFUNCTION_ONLY to make sure only the unusedFunction check is being executed
|
This seems to be a quick and small hack of the interface. I don't want small hacks in the interface. A bigger picture is wanted. There should be a consistent way to enable/disable all checks. |
This is just temporary and I have an approach to fix this more appropriately. The ground work and approach is easily implemented. But to get it completely fixed will involve a lot of work and will take quite a while. It's also not an "interface" and is not documented at all. |
ok. |
|
This is to also speed up the callgrind test proposed in #2944. I will elaborate on steps to get rid of this hack soon. |
This reduces Ir from |
|
Not calling the unnecessary |
28c4139 to
30dfd56
Compare
30dfd56 to
a3ee16c
Compare
This is to avoid unnecessary checks being performed as well as speeding up things. See https://trac.cppcheck.net/ticket/10648 and https://trac.cppcheck.net/ticket/10727.