[PATCH] D99005: [clang] WIP: Implement P2266

Matheus Izvekov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Mar 19 20:24:36 PDT 2021


mizvekov created this revision.
Herald added subscribers: jansvoboda11, dexonsmith, lxfind, dang.
mizvekov requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

WIP, not yet ready for review.

Small sample of things wrong with this patch:

- Have to remove some copypasta.
- Fix from D98971 <https://reviews.llvm.org/D98971> directly imported here
- Some further simplifications needed.
- Test suite not updated to test new mode.
- In fact, the test suite was not run at all...

Just some manual testing:

- return: moderate
- throw: light
- co_return: not tested yet

Signed-off-by: Matheus Izvekov <mizvekov at gmail.com>


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D99005

Files:
  clang/include/clang/Basic/LangOptions.def
  clang/include/clang/Driver/Options.td
  clang/lib/Driver/ToolChains/Clang.cpp
  clang/lib/Sema/SemaCoroutine.cpp
  clang/lib/Sema/SemaExprCXX.cpp
  clang/lib/Sema/SemaStmt.cpp
  clang/lib/Sema/SemaType.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D99005.332064.patch
Type: text/x-patch
Size: 10274 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210320/3161e857/attachment-0001.bin>


More information about the cfe-commits mailing list