summaryrefslogtreecommitdiffstats
path: root/src/graph.cc
diff options
context:
space:
mode:
authorEvan Martin <martine@danga.com>2012-10-08 17:09:12 (GMT)
committerEvan Martin <martine@danga.com>2012-10-23 15:51:54 (GMT)
commit4d62d11675e90d44dad02198461994d50655dc3f (patch)
treee2fed6b1bf788408f04997ae725566592bc0c4cd /src/graph.cc
parent13b8aff3ca7d52db40cf2ac48194b0b3ef67e664 (diff)
downloadNinja-4d62d11675e90d44dad02198461994d50655dc3f.zip
Ninja-4d62d11675e90d44dad02198461994d50655dc3f.tar.gz
Ninja-4d62d11675e90d44dad02198461994d50655dc3f.tar.bz2
fix whitespace
Diffstat (limited to 'src/graph.cc')
-rw-r--r--src/graph.cc28
1 files changed, 14 insertions, 14 deletions
diff --git a/src/graph.cc b/src/graph.cc
index 6ae324d..f6e0d0c 100644
--- a/src/graph.cc
+++ b/src/graph.cc
@@ -353,18 +353,18 @@ bool Edge::is_phony() const {
}
void Node::Dump(const char* prefix) const {
- printf("%s <%s 0x%p> mtime: %d%s, (:%s), ",
- prefix, path().c_str(), this,
- mtime(), mtime()?"":" (:missing)",
- dirty()?" dirty":" clean");
- if (in_edge()) {
- in_edge()->Dump("in-edge: ");
- }else{
- printf("no in-edge\n");
- }
- printf(" out edges:\n");
- for (vector<Edge*>::const_iterator e = out_edges().begin();
- e != out_edges().end() && *e != NULL; ++e) {
- (*e)->Dump(" +- ");
- }
+ printf("%s <%s 0x%p> mtime: %d%s, (:%s), ",
+ prefix, path().c_str(), this,
+ mtime(), mtime() ? "" : " (:missing)",
+ dirty() ? " dirty" : " clean");
+ if (in_edge()) {
+ in_edge()->Dump("in-edge: ");
+ } else {
+ printf("no in-edge\n");
+ }
+ printf(" out edges:\n");
+ for (vector<Edge*>::const_iterator e = out_edges().begin();
+ e != out_edges().end() && *e != NULL; ++e) {
+ (*e)->Dump(" +- ");
+ }
}