qt5base-lts/tests/auto
Lars Knoll be1ce6b269 Separate the error case when evaluating bindings
There's no point in returning a usually empty error when
evaluating bindings, adding overhead to the regular code
path.

Instead, the error can be set on the currently evaluating
binding if required. This streamlines the functor used to
wrap the binding and should thus expand to less code and
execute faster in the regular case.

To achieve this, expose a pointer to the currently evaluating
binding in the private API (as QtQml needs it to be able to
report errors).

The error case now requires one additional TLS lookup, but
we don't really care about performance in that case anyway.

Change-Id: Iecb450e765244930a41d813fcf8eb4013957a6a3
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
2020-07-10 15:07:07 +02:00
..
cmake Use QList instead of QVector in other qtbase tests 2020-07-07 11:48:45 +02:00
concurrent CMake: Regenerate tests with new qt_ prefixed APIs 2020-07-09 09:38:35 +02:00
corelib Separate the error case when evaluating bindings 2020-07-10 15:07:07 +02:00
dbus CMake: Regenerate subdir test projects 2020-07-09 09:38:39 +02:00
gui Refactor pointer event hierarchy 2020-07-10 14:32:56 +02:00
guiapplauncher Fix path to examples part of tst_GuiAppLauncher 2015-02-13 07:28:15 +00:00
installed_cmake Add a unit test for testing Qt in its install location. 2013-07-02 23:08:54 +02:00
network CMake: Regenerate subdir test projects 2020-07-09 09:38:39 +02:00
opengl CMake: Regenerate subdir test projects 2020-07-09 09:38:39 +02:00
other Tests: Use QVERIFY instead of QCOMPARE for empty lists 2020-07-10 14:30:58 +02:00
printsupport CMake: Regenerate subdir test projects 2020-07-09 09:38:39 +02:00
shared QWindowsFontDatabase: Check preferred family names for all fonts 2019-11-29 09:31:21 +01:00
sql CMake: Regenerate subdir test projects 2020-07-09 09:38:39 +02:00
testlib CMake: Regenerate subdir test projects 2020-07-09 09:38:39 +02:00
tools moc: For non-STORED QProperties, expect a pointer 2020-07-09 22:34:46 +02:00
widgets Refactor pointer event hierarchy 2020-07-10 14:32:56 +02:00
xml CMake: Regenerate tests with new qt_ prefixed APIs 2020-07-09 09:38:35 +02:00
.prev_CMakeLists.txt CMake: Regenerate subdir test projects 2020-07-09 09:38:39 +02:00
auto.pro Remove winrt 2020-06-06 20:25:49 +02:00
CMakeLists.txt Remove winrt 2020-06-06 20:25:49 +02:00
network-settings.h Revert "QAbstractSocket: deprecate 'error' member-function" 2020-02-26 23:07:52 +03:00