coroutines: Fix indentation (NFC).
authorIain Sandoe <iain@sandoe.co.uk>
Sun, 15 Mar 2020 14:22:18 +0000 (14:22 +0000)
committerIain Sandoe <iain@sandoe.co.uk>
Sun, 15 Mar 2020 15:36:46 +0000 (15:36 +0000)
Whitespace-only change.

gcc/cp/ChangeLog:

2020-03-15  Iain Sandoe  <iain@sandoe.co.uk>

* coroutines.cc (co_await_expander): Fix indentation.

gcc/cp/ChangeLog
gcc/cp/coroutines.cc

index c9375234c41d46fed62f37f6b246782b492ca57a..661ba2bea4b4dde4c999e79139929f157f264c28 100644 (file)
@@ -1,3 +1,7 @@
+2020-03-15  Iain Sandoe  <iain@sandoe.co.uk>
+
+       * coroutines.cc (co_await_expander): Fix indentation.
+
 2020-03-14  Jason Merrill  <jason@redhat.com>
 
        PR c++/92068
index 920575b0f54fc3ad123d44f467b709c46ef2c366..f70b3ab69abae1fc5d245bf9b0d039978e52438f 100644 (file)
@@ -1471,10 +1471,10 @@ co_await_expander (tree *stmt, int * /*do_subtree*/, void *d)
     dtor = NULL_TREE;
   else
     {
-  /* Initialize the var from the provided 'o' expression.  */
-    r = build2 (INIT_EXPR, await_type, var, expr);
-  r = coro_build_cvt_void_expr_stmt (r, loc);
-  append_to_statement_list (r, &stmt_list);
+      /* Initialize the var from the provided 'o' expression.  */
+      r = build2 (INIT_EXPR, await_type, var, expr);
+      r = coro_build_cvt_void_expr_stmt (r, loc);
+      append_to_statement_list (r, &stmt_list);
     }
 
   /* Use the await_ready() call to test if we need to suspend.  */