summaryrefslogtreecommitdiffstats
path: root/src/line_printer.cc
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-06-20 19:17:39 (GMT)
committerBrad King <brad.king@kitware.com>2017-09-14 15:43:31 (GMT)
commitf87e865e5b4ef91ac642f063ba55708359b8294f (patch)
tree11f41e44016c48a840e54d662ea6de4ba4178f0f /src/line_printer.cc
parent87111bff382655075f2577c591745a335f0103c7 (diff)
downloadNinja-f87e865e5b4ef91ac642f063ba55708359b8294f.zip
Ninja-f87e865e5b4ef91ac642f063ba55708359b8294f.tar.gz
Ninja-f87e865e5b4ef91ac642f063ba55708359b8294f.tar.bz2
Track in Plan whether wanted edges have been scheduled
Refactor the `want_` map to track for wanted edges whether they have been scheduled or not. This gives `ScheduleWork` a direct place to keep this information, making the logic more robust and easier to follow. It also future-proofs `ScheduleWork` to avoid repeat scheduling if it is called after an edge has been removed from `ready_` by `FindWork`.
Diffstat (limited to 'src/line_printer.cc')
0 files changed, 0 insertions, 0 deletions