https://bugs.kde.org/show_bug.cgi?id=474314
Bug ID: 474314 Summary: new check: detect use of Q_FOREACH and replace by C++11 for each Classification: Developer tools Product: clazy Version: unspecified Platform: Other OS: Linux Status: REPORTED Severity: wishlist Priority: NOR Component: general Assignee: unassigned-b...@kde.org Reporter: f...@grueninger.de CC: smart...@kde.org Target Milestone: --- Qt discouraged the use of the Q_FOREACH macro since Qt 5.7 and suggests switching to C++-11 range-based for loop. A new check could detect the use of Q_FOREACH. Further, it might be automatically replaced by a suitable C++-11 range-based for loop. Link to Q_FOREACH documentation: https://doc.qt.io/qt-6/qforeach-proxy.html -- You are receiving this mail because: You are watching all bug changes.