coroutines: Rename the coroutines cpp builtin.
authorIain Sandoe <iain@sandoe.co.uk>
Mon, 13 Apr 2020 19:48:46 +0000 (20:48 +0100)
committerIain Sandoe <iain@sandoe.co.uk>
Mon, 13 Apr 2020 19:52:03 +0000 (20:52 +0100)
commitee26baf4a8162a309fbcba591377b9e0c362630d
tree22edcace996d4f2eff66a4bb84b7fabaf3fa81d8
parent2dd4ceacd8ba3718573c67cd43f8a403fcf4146d
coroutines: Rename the coroutines cpp builtin.

The current standard draft (n4861) amends the cpp builtin for
coroutines to '__cpp_impl_coroutine', no other change.

gcc/c-family/ChangeLog:

2020-04-13  Iain Sandoe  <iain@sandoe.co.uk>

* c-cppbuiltin.c (c_cpp_builtins): Update coroutines builtin
define, per n4861.

gcc/testsuite/ChangeLog:

2020-04-13  Iain Sandoe  <iain@sandoe.co.uk>

* g++.dg/coroutines/coro-pre-proc.C: Update coroutines builtin
define, per n4861.
* g++.dg/coroutines/coro.h: Likewise.

libstdc++-v3/ChangeLog:

2020-04-13  Iain Sandoe  <iain@sandoe.co.uk>

* include/std/coroutine: Update coroutines builtin define,
per n4861.
gcc/c-family/ChangeLog
gcc/c-family/c-cppbuiltin.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/coroutines/coro-pre-proc.C
gcc/testsuite/g++.dg/coroutines/coro.h
libstdc++-v3/ChangeLog
libstdc++-v3/include/std/coroutine