qt5base-lts/tests/auto/corelib/global
Erik Verbruggen 5ff7a3d96e Add {add,sub,mul}_overflow for signed integers.
In C++, signed overflow math is Undefined Behavior. However, many CPUs
do implement some way to check for overflow. Some compilers expose
intrinsics to use this functionality. If the no intrinsic is exposed,
overflow checking can be done by widening the result type and "manually"
checking for overflow. Or, for X86, by using inline assembly to use the
CPU features.

Used in QtQml.

Change-Id: I2ef2523ccaa98f6757a45e24862a2fa730a26bb0
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2015-11-20 11:08:05 +00:00
..
q_func_info Tests: Remove CONFIG += parallel_test. 2015-09-05 07:16:50 +00:00
qflags Tests: Remove CONFIG += parallel_test. 2015-09-05 07:16:50 +00:00
qgetputenv Tests: Remove CONFIG += parallel_test. 2015-09-05 07:16:50 +00:00
qglobal Tests: Remove CONFIG += parallel_test. 2015-09-05 07:16:50 +00:00
qglobalstatic Remove QT_DISABLE_DEPRECATED_BEFORE=0 from tests not using deprecated API. 2015-09-01 16:57:46 +00:00
qhooks Tests: Remove CONFIG += parallel_test. 2015-09-05 07:16:50 +00:00
qlogging Tests: Fix single-character string literals. 2015-10-13 18:14:27 +00:00
qnumeric Add {add,sub,mul}_overflow for signed integers. 2015-11-20 11:08:05 +00:00
qrand Tests: Remove CONFIG += parallel_test. 2015-09-05 07:16:50 +00:00
qtendian Tests: Remove CONFIG += parallel_test. 2015-09-05 07:16:50 +00:00
global.pro Add a more reliable replacement for qt_add/removeObject(). 2014-04-15 17:50:20 +02:00