[clazy] [Bug 355682] new check: test QList.count() must be replaced by !QList.isEmpty()

2016-02-04 Thread via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=355682 eric.lemaniss...@gmail.com changed: What|Removed |Added CC||eric.lemaniss...@gmail.com ---

[clazy] [Bug 355682] new check: test QList.count() must be replaced by !QList.isEmpty()

2015-12-08 Thread Stephane MANKOWSKI via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=355682 --- Comment #2 from Stephane MANKOWSKI --- Hi, Thank you, this helps me a lot. Just one more comment: could be interesting to generate warning for the 2 followings cases too ! if (list.count()>0) {} if

[clazy] [Bug 355682] new check: test QList.count() must be replaced by !QList.isEmpty()

2015-12-07 Thread Sergio Martins via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=355682 Sergio Martins changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Latest