summaryrefslogtreecommitdiffstats
path: root/src/state.h
diff options
context:
space:
mode:
authorPeter Collingbourne <peter@pcc.me.uk>2011-09-18 02:07:35 (GMT)
committerPeter Collingbourne <peter@pcc.me.uk>2011-10-18 22:01:48 (GMT)
commit5ff5891f5bed923b983c0f5a23c16d988d55f30e (patch)
treed882ee9f327e7ab138429dcee85625b88d7fa915 /src/state.h
parentafbe2185a3bbd2453d6b1c27ee8f7c1cce6371a3 (diff)
downloadNinja-5ff5891f5bed923b983c0f5a23c16d988d55f30e.zip
Ninja-5ff5891f5bed923b983c0f5a23c16d988d55f30e.tar.gz
Ninja-5ff5891f5bed923b983c0f5a23c16d988d55f30e.tar.bz2
Split Node::dirty_ into two flags: Node::dirty_ and Edge::outputs_ready_
dirty_ is intended to remain static during the build (unless a restat occurs), while outputs_ready_ reflects the dynamic state of the build.
Diffstat (limited to 'src/state.h')
-rw-r--r--src/state.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/state.h b/src/state.h
index ceb7c05..7f30563 100644
--- a/src/state.h
+++ b/src/state.h
@@ -44,6 +44,7 @@ struct State {
void AddIn(Edge* edge, const string& path);
void AddOut(Edge* edge, const string& path);
bool AddDefault(const string& path, string* error);
+ void Reset();
/// @return the root node(s) of the graph. (Root nodes have no output edges).
/// @param error where to write the error message if somethings went wrong.