@@ -207,7 +207,8 @@ void StatusPrinter::RecalculateProgressPrediction() {
207207}
208208
209209void StatusPrinter::BuildEdgeFinished (Edge* edge, int64_t start_time_millis,
210- int64_t end_time_millis, ExitStatus exit_code,
210+ int64_t end_time_millis,
211+ ExitStatus exit_code,
211212 const string& output) {
212213 time_millis_ = end_time_millis;
213214 ++finished_edges_;
@@ -233,8 +234,8 @@ void StatusPrinter::BuildEdgeFinished(Edge* edge, int64_t start_time_millis,
233234 const bool is_tty = printer_.is_tty ();
234235 const bool is_smart_terminal = printer_.is_smart_terminal ();
235236 const bool is_final_edge = finished_edges_ == total_edges_;
236- const bool has_status_format = progress_status_format_ &&
237- progress_status_format_[0 ] != ' \0 ' ;
237+ const bool has_status_format =
238+ progress_status_format_ && progress_status_format_ [0 ] != ' \0 ' ;
238239
239240 // Regular edges are always reported on completion. Console edges are
240241 // reported on completion in non-TTY mode and in smart terminals. For dumb
@@ -256,9 +257,9 @@ void StatusPrinter::BuildEdgeFinished(Edge* edge, int64_t start_time_millis,
256257
257258 string failed = " FAILED: [code=" + std::to_string (exit_code) + " ] " ;
258259 if (printer_.supports_color ()) {
259- printer_.PrintOnNewLine (" \x1B [31m" + failed + " \x1B [0m" + outputs + " \n " );
260+ printer_.PrintOnNewLine (" \x1B [31m" + failed + " \x1B [0m" + outputs + " \n " );
260261 } else {
261- printer_.PrintOnNewLine (failed + outputs + " \n " );
262+ printer_.PrintOnNewLine (failed + outputs + " \n " );
262263 }
263264 printer_.PrintOnNewLine (edge->EvaluateCommand () + " \n " );
264265 }
@@ -487,8 +488,8 @@ void StatusPrinter::PrintStatus(const Edge* edge, int64_t time_millis) {
487488 }
488489 }
489490
490- if (config_.verbosity == BuildConfig::QUIET
491- || config_.verbosity == BuildConfig::NO_STATUS_UPDATE)
491+ if (config_.verbosity == BuildConfig::QUIET ||
492+ config_.verbosity == BuildConfig::NO_STATUS_UPDATE)
492493 return ;
493494
494495 RecalculateProgressPrediction ();
@@ -499,8 +500,8 @@ void StatusPrinter::PrintStatus(const Edge* edge, int64_t time_millis) {
499500 if (to_print.empty () || force_full_command)
500501 to_print = edge->GetBinding (" command" );
501502
502- to_print = FormatProgressStatus (progress_status_format_, time_millis)
503- + to_print;
503+ to_print =
504+ FormatProgressStatus (progress_status_format_, time_millis) + to_print;
504505
505506 printer_.Print (to_print,
506507 force_full_command ? LinePrinter::FULL : LinePrinter::ELIDE);
0 commit comments