qt5base-lts/tests/auto/tools/qmake
Edward Welbourne cfcbf38f76 Teach qmake about digit-grouping apostrophes in numeric literals
It was previously understanding them as character literal delimiters,
with unfortunate consequences if a numeric literal contained an odd
number of them. Recognize that an apostrophe with a digit on each side
of it isn't the opening quote of a character literal (unless the digit
before it is preceded by a u). Extend the findMocs test to trigger the
bug, prior to the fix; verified it passes with the fix.

Fixes: QTBUG-98845
Change-Id: I5db3ac59aaeade7c2d6c1fb680ba97261ec0e8a9
Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
2022-06-17 00:05:53 +02:00
..
testdata Teach qmake about digit-grouping apostrophes in numeric literals 2022-06-17 00:05:53 +02:00
.gitignore
CMakeLists.txt
testcompiler.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
testcompiler.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
tst_qmake.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00