diff options
author | Brad King <brad.king@kitware.com> | 2017-06-20 19:17:39 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2017-09-14 15:43:31 (GMT) |
commit | f87e865e5b4ef91ac642f063ba55708359b8294f (patch) | |
tree | 11f41e44016c48a840e54d662ea6de4ba4178f0f /src/line_printer.cc | |
parent | 87111bff382655075f2577c591745a335f0103c7 (diff) | |
download | Ninja-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