diff options
author | Iain Sandoe <iain@sandoe.co.uk> | 2020-03-15 14:22:18 +0000 |
---|---|---|
committer | Iain Sandoe <iain@sandoe.co.uk> | 2020-03-15 15:36:46 +0000 |
commit | ced66da313526c3481ceb57ea1becca7b712444b (patch) | |
tree | d8bbc9b29f8ac239dfcdbf95062224b2574485dd /gcc | |
parent | b408e010ccf6cacc1f36cef8fca3252cfa677094 (diff) | |
download | gcc-ced66da313526c3481ceb57ea1becca7b712444b.zip gcc-ced66da313526c3481ceb57ea1becca7b712444b.tar.gz gcc-ced66da313526c3481ceb57ea1becca7b712444b.tar.bz2 |
coroutines: Fix indentation (NFC).
Whitespace-only change.
gcc/cp/ChangeLog:
2020-03-15 Iain Sandoe <iain@sandoe.co.uk>
* coroutines.cc (co_await_expander): Fix indentation.
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/cp/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/cp/coroutines.cc | 8 |
2 files changed, 8 insertions, 4 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index c9375234..661ba2b 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -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 diff --git a/gcc/cp/coroutines.cc b/gcc/cp/coroutines.cc index 920575b..f70b3ab 100644 --- a/gcc/cp/coroutines.cc +++ b/gcc/cp/coroutines.cc @@ -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. */ |