aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qmltyperegistrar/CMakeLists.txt
diff options
context:
space:
mode:
authorFurkan Uzumcu <furkanuzumcu@gmail.com>2021-02-07 17:07:04 -0500
committerFurkan Uzumcu <furkanuzumcu@gmail.com>2021-02-10 08:29:29 -0500
commit1c35c8f71eb6863498548c6724f82be01d872b33 (patch)
treef416efe10ff5c27a284f89f5c439a347b64ca5d7 /tests/auto/qml/qmltyperegistrar/CMakeLists.txt
parent934e967507d66b44bfde76738ed90f213e6e62ac (diff)
qmlformat: Use a struct to hold the command line options
Keeping the parser and the code that uses the command line options in the same function increases the number of lines for the same function, making it harder to read, and the number of arguments for parseFile function, makes it harder to understand and maintain. This commit adds an `Options` struct to hold on to the command line options and a build function to create the `Options` object. Pick-to: 6.1 Change-Id: I5dec0a5a5e990f413ee65bf2eba2ea1087e0ea28 Reviewed-by: Maximilian Goldstein <max.goldstein@qt.io> Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'tests/auto/qml/qmltyperegistrar/CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions