summaryrefslogtreecommitdiffstats
path: root/src/state.h
Commit message (Collapse)AuthorAgeFilesLines
* Remove #pragma once from our header files.Thiago Farina2012-07-171-1/+0
| | | | | | https://github.com/martine/ninja/issues/358 Signed-off-by: Thiago Farina <tfarina@chromium.org>
* No need to write 'struct' before type name when declaraing variables in C++.Thiago Farina2012-05-231-1/+1
| | | | Signed-off-by: Thiago Farina <tfarina@chromium.org>
* more stringpieceEvan Martin2012-01-091-3/+3
|
* switch node lookup to StringPieceEvan Martin2012-01-091-2/+2
|
* more whitespaceEvan Martin2011-12-071-0/+4
|
* merge StatCache into StateEvan Martin2011-12-071-6/+10
| | | | | | I think I had originally imagined StatCache would contain more state, but at this point it's clear it was just managing a single map, which could just as well be in the already-small State object.
* Add spelling suggestions for four cases:Nico Weber2011-11-161-0/+1
| | | | | | | | | | | 1. For targets, when invoking ninja to build a target. 2. For targets, when doing a "query" command. 3. For command names. 4. For the subcommands of the "targets" command. Also change CmdTargets() to call LookupNode() instead of GetNode() -- since the result was checked for NULL, that's probably what was intended here originally.
* Split Node::dirty_ into two flags: Node::dirty_ and Edge::outputs_ready_Peter Collingbourne2011-10-181-0/+1
| | | | | dirty_ is intended to remain static during the build (unless a restat occurs), while outputs_ready_ reflects the dynamic state of the build.
* Factor out State struct from ninja_jumble.cc into its header/source files.Thiago Farina2011-09-031-0/+68
This was a TODO in src/ninja_jumble.cc. Now this task is completed. Signed-off-by: Thiago Farina <tfarina@chromium.org>