diff options
Diffstat (limited to 'src/graph.h')
-rw-r--r-- | src/graph.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/graph.h b/src/graph.h index bd0cb34..d5d0f4f 100644 --- a/src/graph.h +++ b/src/graph.h @@ -240,10 +240,9 @@ struct DependencyScan { /// Returns false on failure. bool RecomputeDirty(Edge* edge, string* err); - /// Recompute whether a given single output should be marked dirty. + /// Recompute whether any output of the edge is dirty. /// Returns true if so. - bool RecomputeOutputDirty(Edge* edge, Node* most_recent_input, - const string& command, Node* output); + bool RecomputeOutputsDirty(Edge* edge, Node* most_recent_input); BuildLog* build_log() const { return build_log_; @@ -257,6 +256,11 @@ struct DependencyScan { } private: + /// Recompute whether a given single output should be marked dirty. + /// Returns true if so. + bool RecomputeOutputDirty(Edge* edge, Node* most_recent_input, + const string& command, Node* output); + BuildLog* build_log_; DiskInterface* disk_interface_; ImplicitDepLoader dep_loader_; |