diff options
Diffstat (limited to 'src/graph.cc')
-rw-r--r-- | src/graph.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/graph.cc b/src/graph.cc index 65f9244..7121342 100644 --- a/src/graph.cc +++ b/src/graph.cc @@ -305,6 +305,10 @@ bool Edge::is_phony() const { return rule_ == &State::kPhonyRule; } +bool Edge::use_console() const { + return pool() == &State::kConsolePool; +} + void Node::Dump(const char* prefix) const { printf("%s <%s 0x%p> mtime: %d%s, (:%s), ", prefix, path().c_str(), this, |