Auto-format the codebase

Run tools/run_formatter.sh.

Change-Id: Idec0c269dd475021fcf2c1858cd312534376915d
Reviewed-on: https://gn-review.googlesource.com/c/gn/+/19340
Commit-Queue: Takuto Ikuta <tikuta@google.com>
Reviewed-by: Takuto Ikuta <tikuta@google.com>
diff --git a/src/base/numerics/safe_math_shared_impl.h b/src/base/numerics/safe_math_shared_impl.h
index 6fe7b06..1abe26f 100644
--- a/src/base/numerics/safe_math_shared_impl.h
+++ b/src/base/numerics/safe_math_shared_impl.h
@@ -204,7 +204,7 @@
   template <typename L, typename R, typename... Args>                   \
   constexpr CLASS##Numeric<                                             \
       typename ResultType<CLASS##OP_NAME##Op, L, R, Args...>::type>     \
-      CL_ABBR##OP_NAME(const L lhs, const R rhs, const Args... args) {  \
+  CL_ABBR##OP_NAME(const L lhs, const R rhs, const Args... args) {      \
     return CL_ABBR##MathOp<CLASS##OP_NAME##Op, L, R, Args...>(lhs, rhs, \
                                                               args...); \
   }
diff --git a/src/gn/builder.cc b/src/gn/builder.cc
index 17f5101..3710886 100644
--- a/src/gn/builder.cc
+++ b/src/gn/builder.cc
@@ -537,14 +537,12 @@
     DCHECK(success == !err.has_error());
 
     g_scheduler->task_runner()->PostTask(
-        [this, record, err]() {
-          CompleteAsyncTargetResolution(record, err);
-        });
+        [this, record, err]() { CompleteAsyncTargetResolution(record, err); });
   });
 }
 
-void Builder::CompleteAsyncTargetResolution(
-    BuilderRecord* record, const Err& err) {
+void Builder::CompleteAsyncTargetResolution(BuilderRecord* record,
+                                            const Err& err) {
   if (err.has_error()) {
     g_scheduler->FailWithError(err);
   } else {
diff --git a/src/gn/builder_unittest.cc b/src/gn/builder_unittest.cc
index 59b58f8..accd714 100644
--- a/src/gn/builder_unittest.cc
+++ b/src/gn/builder_unittest.cc
@@ -339,7 +339,7 @@
   Target* a = new Target(&settings_, a_label);
   a->gen_deps().push_back(LabelTargetPair(b_label));
   a->set_output_type(Target::EXECUTABLE);
-  a->visibility().SetPublic(); // Allow 'b' to depend on 'a'
+  a->visibility().SetPublic();  // Allow 'b' to depend on 'a'
   builder_.ItemDefined(std::unique_ptr<Item>(a));
 
   Target* b = new Target(&settings2, b_label);
diff --git a/src/gn/scheduler.cc b/src/gn/scheduler.cc
index 9265b51..a72aed2 100644
--- a/src/gn/scheduler.cc
+++ b/src/gn/scheduler.cc
@@ -30,10 +30,10 @@
 
   // Ensure there is at least one task, (or else this will wait forever).
   if (is_failed_ || (work_count_.IsZero() && pool_work_count_.IsZero())) {
-     // Flush any posted tasks (that were posted from the UI thread).
-     main_thread_run_loop_->PostQuit();
-     main_thread_run_loop_->Run();
-     return is_failed_;
+    // Flush any posted tasks (that were posted from the UI thread).
+    main_thread_run_loop_->PostQuit();
+    main_thread_run_loop_->Run();
+    return is_failed_;
   }
 
   has_been_shutdown_ = false;