Oliver Stöneberg
Oliver Stöneberg
That would need additional logic to determine what the suggestion might be and that might not be 100%. Another problem with making *any* suggestions is that beside the implementation you...
All tests still pass with the early returns added. Example output: ``` TestLeakAutoVar::doublefree9 ExprIdToken - no tok setValue - no expr - 0@1 setValue - no expr - 0@1 ExprIdToken...
Happens with unnamed parameters when a function body exists: ```cpp void cb(int) {} void func() { cb(0); } ``` ``` ExprIdToken - no tok setValue - no expr - 0@1...
The `MultiValueFlowAnalyzer` happens in `TestAutoVariables::testinvaliddealloc` (among others). I assume that should not get such data so it possibly needs to be addressed earlier in the code.
> spontanously this sounds good to me. what is the motivation? is there speedup or change of results or simpler code? I cannot remember how I came across this but...
I tested it with #7800 and there were no differences in the output.
@feelamee as you currently contributed to the section please have a look
This essentially fixes https://trac.cppcheck.net/ticket/10540.
I think I rather extract the script from the documentation and replace it with just add a `wget` and execution with a static link. We could also add an auto-update...
Will require some more reworking to make it better for causal users.