[PATCH] D31692: [coroutines] Wrap the body of the coroutine in try-catch

Gor Nishanov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Apr 11 13:15:09 PDT 2017


GorNishanov added inline comments.


================
Comment at: lib/Sema/SemaCoroutine.cpp:977
+  // Since the body of the coroutine will be wrapped in try-catch, it will
+  // be incompativle with SEH __try if present in a function. 
+  if (!S.getLangOpts().Borland && Fn.FirstSEHTryLoc.isValid()) {
----------------
s/incompativle/incompatible


https://reviews.llvm.org/D31692





More information about the cfe-commits mailing list