qt5base-lts/tests/auto/corelib/global
Thiago Macieira 43c44d05ca Update the overflow functions to include qsizetype
Commit 29bc68cf16 added support for
unsigned and commit 5ff7a3d96e later added
support for int. This commit adds support for qsizetype, which isn't int
on 64-bit platforms.

We do this by reorganizing the code and using the generic version of
__builtin_{add,sub,mul}_overflow from GCC 5 and Clang 3.8, which ICC 18
seems to support now too on Linux. That leaves older versions of GCC and
Clang, as well as MSVC, ICC on Windows, and the GHS compiler, to use the
generic implementations, as I've removed the assembly code those
versions of GCC and Clang on x86 are now uncommon.

Note: any older version of ICC probably breaks. We only support the
latest.

Change-Id: I9e2892cb6c374e93bcb7fffd14fc11bcd5f067a7
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
2018-01-24 21:13:20 +00:00
..
q_func_info Updated license headers 2016-01-21 18:55:18 +00:00
qflags QFlags: support enum classes in setFlag() 2017-11-24 18:23:34 +00:00
qfloat16 Merge remote-tracking branch 'origin/5.10' into dev 2018-01-02 09:58:44 +01:00
qgetputenv Long live qEnvironmentVariable() 2017-08-04 11:19:13 +00:00
qglobal Merge remote-tracking branch 'origin/5.10' into dev 2018-01-02 09:58:44 +01:00
qglobalstatic tests: Unify license to GPL-EXCEPT 2017-04-03 07:18:46 +00:00
qhooks tst_qhooks: test that it's possible to chain multiple hooks together 2016-11-18 15:22:32 +00:00
qlogging Use dependencies instead of CONFIG+=ordered 2017-12-02 11:09:15 +00:00
qnumeric Update the overflow functions to include qsizetype 2018-01-24 21:13:20 +00:00
qrand Updated license headers 2016-01-21 18:55:18 +00:00
qrandomgenerator Tests: Raise minimum supported MSVC version to 2015 2018-01-04 20:23:25 +00:00
qtendian Move qle_bitfield to qendian_p.h 2017-06-27 22:16:56 +00:00
global.pro Long live QRandomGenerator 2017-06-12 06:14:34 +00:00