https://bugs.kde.org/show_bug.cgi?id=361489
Bug ID: 361489 Summary: qdeleteall: Do not warn on qDeleteAll(some_hash.values(some_key)) Product: clazy Version: unspecified Platform: Fedora RPMs OS: Linux Status: UNCONFIRMED Severity: normal Priority: NOR Component: general Assignee: unassigned-b...@kde.org Reporter: r.oehlin...@avibit.com CC: smart...@kde.org I think the check should not warn and it should definitely not propose the wrong fix on code like this. QHash <int, MyClass*> some_hash; //... qDeleteAll(some_hash.values(some_key)) Just the call without arguments should be flaged: qDeleteAll(some_hash.values()) Reproducible: Always -- You are receiving this mail because: You are watching all bug changes.