Bug 514554 - Suggest Qt6 StringView check similar to Qt <= 5 qstring-ref
Summary: Suggest Qt6 StringView check similar to Qt <= 5 qstring-ref
Status: REPORTED
Alias: None
Product: clazy
Classification: Developer tools
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: Unassigned bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2026-01-13 21:34 UTC by gruenich (Christoph Grüninger)
Modified: 2026-01-13 21:34 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description gruenich (Christoph Grüninger) 2026-01-13 21:34:48 UTC
Before Qt 6 QStringRef could speed up the use of several QString-related operations. Clazy offered the check qstring-ref for this.
With Qt 6 QStringRef is gone and QStringView plays a similar role. We should add a new check that points out perfomance gains by using QStringView-based functions.

Related discussions:
https://invent.kde.org/sdk/clazy/-/merge_requests/232
https://invent.kde.org/sdk/clazy/-/merge_requests/240