summaryrefslogtreecommitdiffstats
path: root/src/graph.h
diff options
context:
space:
mode:
authorEvan Martin <martine@danga.com>2011-01-08 19:17:50 (GMT)
committerEvan Martin <martine@danga.com>2011-01-08 19:17:50 (GMT)
commitecc26d8cd608de282c675c25a0a6aed1318dc360 (patch)
tree7ee43025ceb0378594d3d87e3a19f9dbd246ec60 /src/graph.h
parent0a186ab0cbcd2015d2cf9afd8460c7b60e4bcbdd (diff)
downloadNinja-ecc26d8cd608de282c675c25a0a6aed1318dc360.zip
Ninja-ecc26d8cd608de282c675c25a0a6aed1318dc360.tar.gz
Ninja-ecc26d8cd608de282c675c25a0a6aed1318dc360.tar.bz2
remove bottom-up dirtying
Diffstat (limited to 'src/graph.h')
-rw-r--r--src/graph.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/graph.h b/src/graph.h
index 3f46db4..2ebf2e4 100644
--- a/src/graph.h
+++ b/src/graph.h
@@ -12,7 +12,7 @@ struct DiskInterface;
struct Node;
struct FileStat {
FileStat(const string& path) : path_(path), mtime_(-1), node_(NULL) {}
- void Touch(int mtime);
+
// Return true if the file exists (mtime_ got a value).
bool Stat(DiskInterface* disk_interface);
@@ -46,8 +46,6 @@ struct Node {
Node(FileStat* file) : file_(file), dirty_(false), in_edge_(NULL) {}
bool dirty() const { return dirty_; }
- void MarkDirty();
- void MarkDependentsDirty();
FileStat* file_;
bool dirty_;
@@ -71,7 +69,6 @@ struct State;
struct Edge {
Edge() : rule_(NULL), env_(NULL), implicit_deps_(0), order_only_deps_(0) {}
- void MarkDirty(Node* node);
bool RecomputeDirty(State* state, DiskInterface* disk_interface, string* err);
string EvaluateCommand(); // XXX move to env, take env ptr
string GetDescription();