diff options
author | Alexandru Croitor <alexandru.croitor@qt.io> | 2019-11-08 15:42:35 +0100 |
---|---|---|
committer | Alexandru Croitor <alexandru.croitor@qt.io> | 2019-11-12 11:47:42 +0000 |
commit | a0967c2a4f171e9edf6edef0c2ea966500343563 (patch) | |
tree | 495dd8489653a5b04c52fb39c0debfd485872a12 /src/corelib/Qt6ModuleLocationForInstall.cmake.in | |
parent | 2285dd6f10df43cb2df6e43c9e77f669e0af0c34 (diff) |
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 f745ef0f678b42c7a350d0b427ddafeab4d38451
Change-Id: I40b8302ba6aa09b6b9986ea60eac87de8676b469
Reviewed-by: Leander Beernaert <leander.beernaert@qt.io>
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'src/corelib/Qt6ModuleLocationForInstall.cmake.in')
0 files changed, 0 insertions, 0 deletions