Fix #10660 FP: overridden member functions of unknown abstract base classes reported as unused
There are suppressions in .selfcheck_unused_suppressions which need to be removed.
Since https://trac.cppcheck.net/ticket/10661 was also fixed quite a while ago that suppression can also be removed.
Let's hope this year we can finally enable unmatchedSuppression in our selfchecks...
The remaining "false positive" from that file can probably moved to the source leaving just the intended suppressions.
After modifying .selfcheck_unused_suppressions, we get analyzeEnumValue(symboldatabase, settings): 0.001s (avg. 0.0005s - 2 result(s))' on Windows but Tokenizer::createTokens: 0.001111s (avg. 0.001111s - 1 result(s)) elsewhere. Not sure why.
After modifying
.selfcheck_unused_suppressions, we getanalyzeEnumValue(symboldatabase, settings): 0.001s (avg. 0.0005s - 2 result(s))'on Windows butTokenizer::createTokens: 0.001111s (avg. 0.001111s - 1 result(s))elsewhere. Not sure why.
That test is known to be flakey and needs to be looked into. I am not sure I have opened a ticket about it yet. Just xfail it without the Strict argument.
Maybe the showtime result is just very sensitive on the execution environment/runner?
Maybe the showtime result is just very sensitive on the execution environment/runner?
It is checking the number of invocations of timing steps i.e. the ValueFlow execution. That should be deterministic. I will take a look again later.
The flakey test is already being tracked in https://trac.cppcheck.net/ticket/12106.