]> git.eshelyaron.com Git - emacs.git/commit
Add three C++20 coroutine keywords, co_await, co_yield, and co_return
authorCarl Lei <me@xecycle.info>
Sun, 24 May 2020 11:52:24 +0000 (11:52 +0000)
committerAlan Mackenzie <acm@muc.de>
Sun, 24 May 2020 11:52:24 +0000 (11:52 +0000)
commitced29038dfbab47428b974dff1408f331f36c8f1
tree46341f8320b84bb426610e596060f20e330d5c1f
parente021c2dc2279e0fd3a5331f9ea661e4d39c2e840
Add three C++20 coroutine keywords, co_await, co_yield, and co_return

* lisp/progmodes/cc-langs.el (c-operators): Add co_await and co_yield to the
C++ value of "Exception" keywords.
(c-return-kwds): Create a C++ value containing co_return.
(c-simple-stmt-kwds): Add co_return to the C++ value.

Copyright-paperwork-exempt: yes.
lisp/progmodes/cc-langs.el