[gcc(refs/vendors/redhat/heads/gcc-10-branch)] coroutines: Fix indentation (NFC).
Jakub Jelinek
jakub@gcc.gnu.org
Wed Mar 25 09:57:56 GMT 2020
https://gcc.gnu.org/g:ced66da313526c3481ceb57ea1becca7b712444b
commit ced66da313526c3481ceb57ea1becca7b712444b
Author: Iain Sandoe <iain@sandoe.co.uk>
Date: Sun Mar 15 14:22:18 2020 +0000
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.
Diff:
---
gcc/cp/ChangeLog | 4 ++++
gcc/cp/coroutines.cc | 8 ++++----
2 files changed, 8 insertions(+), 4 deletions(-)
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index c9375234c41..661ba2bea4b 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 920575b0f54..f70b3ab69ab 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. */
More information about the Gcc-cvs
mailing list