19e7c0d2b5
There are (at least) two implementations of the low-level case-folding algorithm, one of which (for QChar::toLower()) seems to be wrong (it doesn't deal with special cases which expand to more than one code point). The algoithm hidden in QString and entangled with the QString detaching code makes reusing the code much harder. At the same time, the dependency of the algorithm on the unicode tables makes exposing a non-allocating result type in the public API hard. std::u16string would be an alternative if we can assure that all implementations use SSO with at least four characters. So, for the time being, leave this as internal API for use in an upcoming QStringView::toLower() as well as case-insensitive hashing. Change-Id: Iabb2611846f6176776aa20e634f44d8464f3305c Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> |
||
---|---|---|
.. | ||
accessibilityinspector | ||
aglfn | ||
cmake | ||
corelib/qurl-generateTLDs | ||
edid | ||
glgen | ||
gradientgen | ||
harfbuzz | ||
includemocs | ||
integrity | ||
lexgen | ||
locale_database | ||
plugintest | ||
qfloat16-tables | ||
unicode | ||
x86simdgen | ||
xkbdatagen |