Skip to content
Commit a969c93b authored by Igor Kushnir's avatar Igor Kushnir 💬
Browse files

IncludePathProperties: prepare to QStringView::sliced()

QStringView::mid() will be ported to QStringView::sliced() once KDevelop
depends on Qt 6. The behavior is undefined if the sum of arguments to
sliced() is greater than the string view's size.

Provide a const QString& overload for the function template
KDevelop::matchesAtOffset(), because optimum performance requires
passing QLatin1String and QStringView by value and QString - by
reference.
parent 9365665f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment