diff options
author | Evan Martin <martine@danga.com> | 2011-04-29 18:03:03 (GMT) |
---|---|---|
committer | Evan Martin <martine@danga.com> | 2011-04-29 18:04:12 (GMT) |
commit | e3168e1d282d6dcac73f710c5deb575613c335b7 (patch) | |
tree | 82b8a12cf35a756ff9f32d5d708e2973f256deb7 /src/build.cc | |
parent | fb7c7827ed22662d7dacc0c7a2dd0d48dc41ee06 (diff) | |
download | Ninja-e3168e1d282d6dcac73f710c5deb575613c335b7.zip Ninja-e3168e1d282d6dcac73f710c5deb575613c335b7.tar.gz Ninja-e3168e1d282d6dcac73f710c5deb575613c335b7.tar.bz2 |
add doxygen-compatibile comments to most classes
Diffstat (limited to 'src/build.cc')
-rw-r--r-- | src/build.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/build.cc b/src/build.cc index 98e0bfd..deef7aa 100644 --- a/src/build.cc +++ b/src/build.cc @@ -26,11 +26,12 @@ #include "ninja.h" #include "subprocess.h" +/// Tracks the status of a build: completion fraction, printing updates. struct BuildStatus { BuildStatus(); void PlanHasTotalEdges(int total); void BuildEdgeStarted(Edge* edge); - // Returns the time the edge took, in ms. + /// Returns the time the edge took, in ms. int BuildEdgeFinished(Edge* edge); void PrintStatus(Edge* edge); @@ -42,7 +43,7 @@ struct BuildStatus { RunningEdgeMap running_edges_; BuildConfig::Verbosity verbosity_; - // Whether we can do fancy terminal control codes. + /// Whether we can do fancy terminal control codes. bool smart_terminal_; }; @@ -328,6 +329,7 @@ Edge* RealCommandRunner::NextFinishedCommand(bool* success) { return edge; } +/// A CommandRunner that doesn't actually run the commands. struct DryRunCommandRunner : public CommandRunner { virtual ~DryRunCommandRunner() {} virtual bool CanRunMore() { |