https://bugs.kde.org/show_bug.cgi?id=361691

            Bug ID: 361691
           Summary: Suggestion to turn string into QStringLiteral instead
                    of QLatin1String
           Product: clazy
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: unassigned-b...@kde.org
          Reporter: steve...@gmail.com
                CC: smart...@kde.org

The qstring-allocations unit test contains

    s15.contains("ff"); // Warning, should be QStringLiteral
    s15.indexOf("ff"); // Warning, should be QStringLiteral

However, both `contains()` and `indexOf()` have overloads taking a
QLatin1String. Shouldn't clazy change these to QLatin1String instead of
QStringLiteral?

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to