From: Evan Martin Date: Mon, 8 Oct 2012 17:09:12 +0000 (-0700) Subject: fix whitespace X-Git-Tag: v1.1.0^2~29 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4d62d11675e90d44dad02198461994d50655dc3f;p=platform%2Fupstream%2Fninja.git fix whitespace --- 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::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::const_iterator e = out_edges().begin(); + e != out_edges().end() && *e != NULL; ++e) { + (*e)->Dump(" +- "); + } }