summaryrefslogtreecommitdiffstats
path: root/src/tools/moc/.prev_CMakeLists.txt
diff options
context:
space:
mode:
authorAlexandru Croitor <alexandru.croitor@qt.io>2019-11-08 15:42:35 +0100
committerAlexandru Croitor <alexandru.croitor@qt.io>2019-11-12 11:47:42 +0000
commita0967c2a4f171e9edf6edef0c2ea966500343563 (patch)
tree495dd8489653a5b04c52fb39c0debfd485872a12 /src/tools/moc/.prev_CMakeLists.txt
parent2285dd6f10df43cb2df6e43c9e77f669e0af0c34 (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/tools/moc/.prev_CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions