https://bugs.kde.org/show_bug.cgi?id=407323
Bug ID: 407323 Summary: suggest fixit for clazy-range-loop Product: clazy Version: unspecified Platform: Other OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: general Assignee: unassigned-b...@kde.org Reporter: m...@milianw.de CC: smart...@kde.org Target Milestone: --- SUMMARY currently the clazy report doesn't suggest qAsConst fixit directly, it's only suggested in the documentation of the clazy-range-loop warning. OBSERVED RESULT line 468: for (const auto &p : mParameters) => c++11 range-loop might detach Qt container (QVector) EXPECTED RESULT line 468: for (const auto &p : mParameters) => c++11 range-loop might detach Qt container (QVector), use qAsConst(mParameters) SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: (available in About System) KDE Plasma Version: KDE Frameworks Version: Qt Version: ADDITIONAL INFORMATION -- You are receiving this mail because: You are watching all bug changes.