[all-commits] [llvm/llvm-project] c601be: [coroutines] Introduce [[clang::coro_return_type]]...
Utkarsh Saxena via All-commits
all-commits at lists.llvm.org
Fri Nov 17 08:29:44 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c601be9c8400929f7b5c015a2bceae57e3aab550
https://github.com/llvm/llvm-project/commit/c601be9c8400929f7b5c015a2bceae57e3aab550
Author: Utkarsh Saxena <usx at google.com>
Date: 2023-11-17 (Fri, 17 Nov 2023)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/include/clang/Basic/Attr.td
M clang/include/clang/Basic/AttrDocs.td
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/include/clang/Sema/Sema.h
M clang/lib/Sema/SemaDecl.cpp
M clang/test/Misc/pragma-attribute-supported-attributes-list.test
A clang/test/SemaCXX/coro-return-type-and-wrapper.cpp
Log Message:
-----------
[coroutines] Introduce [[clang::coro_return_type]] and [[clang::coro_wrapper]] (#71945)
First step in the implementation of
[RFC](https://discourse.llvm.org/t/rfc-lifetime-bound-check-for-parameters-of-coroutines/74253)
([final approved
doc](https://docs.google.com/document/d/1hkfXHuvIW1Yv5LI-EIkpWzdWgIoUlzO6Zv_KJpknQzM/edit)).
This introduces the concepts of a **coroutine return type** and explicit
**coroutine wrapper** functions.
---------
Co-authored-by: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
More information about the All-commits
mailing list