qt6-bb10/src/corelib/text
Marc Mutz effbf147a4 QUnicodeTables: use array for case folding tables
Instead of four pairs of :1 :15 bit fields, use an array of four :1,
:15 structs.  This allows to replace the case folding traits classes
with a simple enum that indexes into said array.

I don't know what the WASM #ifdef'ed code is supposed to effect (a :0
bit-field is only useful to separate adjacent bit-field into separate
memory locations for multi-threading), but I thought it safer to leave
it in, and that means the array must be a 64-bit block of its own, so
I had to move two fields around.

Saves ~4.5KiB in text size on optimized GCC 10 LTO Linux AMD64 builds.

Change-Id: Ib52cd7706342d5227b50b57545d073829c45da9a
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
2019-09-04 16:35:37 +00:00
..
UNICODE_LICENSE.txt
qbytearray.cpp
qbytearray.h
qbytearray_p.h
qbytearraylist.cpp
qbytearraylist.h
qbytearraymatcher.cpp
qbytearraymatcher.h
qbytedata_p.h
qchar.cpp QUnicodeTables: use array for case folding tables 2019-09-04 16:35:37 +00:00
qchar.h
qcollator.cpp
qcollator.h
qcollator_icu.cpp
qcollator_macx.cpp
qcollator_p.h
qcollator_posix.cpp
qcollator_win.cpp
qdoublescanprint_p.h
qharfbuzz.cpp
qharfbuzz_p.h
qlocale.cpp
qlocale.h
qlocale.qdoc
qlocale_data_p.h
qlocale_icu.cpp
qlocale_mac.mm
qlocale_p.h
qlocale_tools.cpp
qlocale_tools_p.h
qlocale_unix.cpp
qlocale_win.cpp
qregexp.cpp
qregexp.h
qregularexpression.cpp Doc: Remove 'f.i.' 2019-09-04 17:23:24 +02:00
qregularexpression.h
qstring.cpp QUnicodeTables: use array for case folding tables 2019-09-04 16:35:37 +00:00
qstring.h
qstring_compat.cpp
qstring_mips_dsp_asm.S
qstringalgorithms.h
qstringalgorithms_p.h
qstringbuilder.cpp
qstringbuilder.h
qstringiterator.qdoc
qstringiterator_p.h
qstringlist.cpp
qstringlist.h
qstringliteral.h
qstringmatcher.cpp
qstringmatcher.h
qstringview.cpp
qstringview.h
qt_attribution.json
qtextboundaryfinder.cpp
qtextboundaryfinder.h
qunicodetables.cpp QUnicodeTables: use array for case folding tables 2019-09-04 16:35:37 +00:00
qunicodetables_p.h QUnicodeTables: use array for case folding tables 2019-09-04 16:35:37 +00:00
qunicodetools.cpp
qunicodetools_p.h
qvsnprintf.cpp
text.pri