summaryrefslogtreecommitdiffstats
path: root/Tests/Module/WriteCompilerDetectionHeader/main.cpp
diff options
context:
space:
mode:
authorAlex Turbov <i.zaufi@gmail.com>2021-07-26 21:13:21 (GMT)
committerBrad King <brad.king@kitware.com>2021-08-03 14:55:46 (GMT)
commit2b916606c5c3f1145edd5f0464b139d03b79ae44 (patch)
tree2a3e4dbcc40b91c776c5cb1050d7e4ddc5cdc8b4 /Tests/Module/WriteCompilerDetectionHeader/main.cpp
parent97d6bbcc01f9e7580ae556d62ee4ceefffbabe3b (diff)
downloadCMake-2b916606c5c3f1145edd5f0464b139d03b79ae44.zip
CMake-2b916606c5c3f1145edd5f0464b139d03b79ae44.tar.gz
CMake-2b916606c5c3f1145edd5f0464b139d03b79ae44.tar.bz2
Refactor: No need to move iterators after match
A handler's loop of all levels gonna restart after calls to `HandlePredcate` or `HandleBinaryOp`... And the first action in the loop is to setup iterators. So, no need to move 'em inside the functions. Also, no need to pass iterators by reference. Also, reorder parameters of both functions so iterators followed after a reference to the newArgs container.
Diffstat (limited to 'Tests/Module/WriteCompilerDetectionHeader/main.cpp')
0 files changed, 0 insertions, 0 deletions