Fix #12699 QDir functions missing from qt.cfg#6374
Fix #12699 QDir functions missing from qt.cfg#6374chrchr-github wants to merge 2 commits intocppcheck-opensource:mainfrom
Conversation
Co-authored-by: Dominik Strasser <unknown@example.com>
|
Having an unknown mail address is probably not good. So maybe we should not use that field. |
| <not-bool/> | ||
| </arg> | ||
| </function> | ||
| <!-- bool QDir::path() const --> |
There was a problem hiding this comment.
is this comment wrong it says that QDir::path returns bool?
|
Yes, the comment is a copy-paste error. The failing regressions come from the fact that I fixed the function name of QDir::exists which used to be only "QDir". |
Do you want to take this over? |
|
I can try. What I do not understand is the errors we are seeing. Maybe I have not yet understood the library config. This - according to my understanding - specifies the two functions from the comments as they are like one function with a default parameter. The regression tests fail with: why are the function calls not regarded as matched ? And why is the use-retval ignored ? It is almost as if the whole entry is ignored whereas it seems to have worked before when the entry was bogus as it had Ah, now I see it. The regressions are about QFile::exists |
|
I think we now have only |
|
My bad. I misread it. I'll provide a new qt.cfg + qt.cpp |
Please feel free to open your own PR. |
Continuation of #6374 --------- Co-authored-by: Dominik Strasser <unknown@example.com> Co-authored-by: chrchr-github <noreply@github.com>
Continuation of cppcheck-opensource#6374 --------- Co-authored-by: Dominik Strasser <unknown@example.com> Co-authored-by: chrchr-github <noreply@github.com>
Co-authored-by: Dominik Strasser unknown@example.com