[PATCH] D59076: [coroutines][PR40978] Emit error for co_yield within catch block

Brian Gesiak via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Mar 14 13:49:41 PDT 2019


modocache updated this revision to Diff 190718.
modocache added a comment.

Thank you for the reviews! This revision fixes the nested try/catch behavior. I still need to modify this such that semantic analysis continues for the rest of the function body.


Repository:
  rC Clang

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D59076/new/

https://reviews.llvm.org/D59076

Files:
  include/clang/Basic/DiagnosticSemaKinds.td
  include/clang/Sema/Scope.h
  lib/Parse/ParseStmt.cpp
  lib/Sema/Scope.cpp
  lib/Sema/SemaCoroutine.cpp
  test/SemaCXX/coroutines.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D59076.190718.patch
Type: text/x-patch
Size: 8823 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190314/01fe17fa/attachment.bin>


More information about the cfe-commits mailing list