qt5base-lts/util
Alexandru Croitor a0967c2a4f pro2cmake: Handle operation evaluation order when including children
Instead of processing included_children operations either before or
after the parent scope, collect all operations within that scope and
its included children scopes, and order them based on line number
information.

This requires propagating line numbers for each operation as well as
line numbers for each include() statement, all the way from the
parser grammar to the operator evaluation routines.

This should improve operation handling for included_children
(via include()), but not for regular children (introduced by ifs or
elses), aka this doesn't solve the whole imperative vs declarative
dilemma.

Sample projects where the improvement should be seen:
tests/auto/gui/kernel/qguiapplication and
src/plugins/sqldrivers/sqlite.

This amends f745ef0f67

Change-Id: I40b8302ba6aa09b6b9986ea60eac87de8676b469
Reviewed-by: Leander Beernaert <leander.beernaert@qt.io>
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
2019-11-12 11:47:42 +00:00
..
accessibilityinspector Updated license headers 2016-01-21 18:55:18 +00:00
aglfn Updated license headers 2016-01-21 18:55:18 +00:00
cmake pro2cmake: Handle operation evaluation order when including children 2019-11-12 11:47:42 +00:00
corelib/qurl-generateTLDs Merge remote-tracking branch 'origin/5.13' into dev 2019-04-24 09:52:30 +02:00
edid Minor grammar fixup 2018-08-03 18:11:24 +00:00
glgen Remove usages of deprecated APIs from QtAlgorithms 2019-06-29 21:58:36 +02:00
gradientgen Add cmdline feature to qmake 2019-02-18 07:12:14 +00:00
harfbuzz Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
includemocs QtCore: include mocs 2017-05-05 03:03:30 +00:00
integrity Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
lexgen Remove usages of deprecated APIs from QtAlgorithms 2019-06-29 21:58:36 +02:00
locale_database Add support for the Islamic Civil calendar 2019-08-22 10:10:02 +00:00
plugintest Updated license headers 2016-01-21 18:55:18 +00:00
qfloat16-tables gen_qfloat16_tables: add a comment explaining what the tool is 2019-06-03 10:42:55 -07:00
unicode QUnicodeTables: use array for case folding tables 2019-09-04 16:35:37 +00:00
x86simdgen SIMD: Change the way we declare constants for x86 2018-07-09 00:18:30 +00:00
xkbdatagen Updated license headers 2016-01-21 18:55:18 +00:00