qt5base-lts/util/cmake/tests
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
..
data Add support for converting qtTargetLibrary() value assignments 2019-08-08 13:03:28 +00:00
__init__.py Begin port of qtbase to CMake 2018-11-01 11:48:46 +00:00
test_lc_fixup.py cmake scripts: move parser into separate file 2019-10-10 13:35:43 +00:00
test_logic_mapping.py Move sympy condition simplification code into separate file 2019-10-01 14:13:12 +00:00
test_operations.py CMake: Fix test_operations 2019-05-17 13:26:26 +00:00
test_parsing.py pro2cmake: Handle operation evaluation order when including children 2019-11-12 11:47:42 +00:00
test_scope_handling.py cmake scripts: fix test_scope_handling 2019-10-10 13:12:38 +00:00