qt5base-lts/tests/auto/corelib/global
David Faure 056bdef045 Fix assert in qCleanupFuncInfo when using QDebug from a lambda with auto
ASSERT: "size_t(i) < size_t(size())" in file qbytearray.h, line 492
due to info being emptied out completely and then the code does
while ((info.at(0) == '*')

info was empty because the recent fix "that wasn't the function argument
list" would exit the loop with pos at end.

Incidentally, this change fixes the fact that qCleanupFuncInfo was
removing lambdas:
  main(int, char**)::<lambda()>
became
  main(int, char**)::
which was, well, shorted, but weird.

Pick-to: 6.6 6.5
Change-Id: Ic7e8f21ea0df7ef96a3f25c4136a727dc0def207
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2023-07-11 02:37:58 +02:00
..
q20 CMake: Make corelib tests standalone projects 2023-07-05 15:09:32 +02:00
q_func_info CMake: Make corelib tests standalone projects 2023-07-05 15:09:32 +02:00
qcompare CMake: Make corelib tests standalone projects 2023-07-05 15:09:32 +02:00
qflags CMake: Make corelib tests standalone projects 2023-07-05 15:09:32 +02:00
qfloat16 CMake: Make corelib tests standalone projects 2023-07-05 15:09:32 +02:00
qgetputenv CMake: Make corelib tests standalone projects 2023-07-05 15:09:32 +02:00
qglobal CMake: Make corelib tests standalone projects 2023-07-05 15:09:32 +02:00
qglobalstatic CMake: Make corelib tests standalone projects 2023-07-05 15:09:32 +02:00
qhooks CMake: Make corelib tests standalone projects 2023-07-05 15:09:32 +02:00
qkeycombination CMake: Make corelib tests standalone projects 2023-07-05 15:09:32 +02:00
qlogging Fix assert in qCleanupFuncInfo when using QDebug from a lambda with auto 2023-07-11 02:37:58 +02:00
qnativeinterface CMake: Make corelib tests standalone projects 2023-07-05 15:09:32 +02:00
qnumeric CMake: Make corelib tests standalone projects 2023-07-05 15:09:32 +02:00
qoperatingsystemversion CMake: Make corelib tests standalone projects 2023-07-05 15:09:32 +02:00
qrandomgenerator CMake: Make corelib tests standalone projects 2023-07-05 15:09:32 +02:00
qtendian CMake: Make corelib tests standalone projects 2023-07-05 15:09:32 +02:00
qxp CMake: Make corelib tests standalone projects 2023-07-05 15:09:32 +02:00
CMakeLists.txt Short live q20::to_address! 2023-03-31 13:10:12 +01:00