GorNishanov marked an inline comment as done.
GorNishanov added a comment.

Preparing to land. Thank you very much for review!



================
Comment at: lib/Sema/SemaCoroutine.cpp:719
+
+  if (!PromiseRecordDecl)
+    return true;
----------------
EricWF wrote:
> I figured out what's going on. `PromiseRecordDecl` doesn't get initialized to 
> null when `IsPromiseDependentType` is false. Initializing `PromiseRecordDecl` 
> fixes the problem.
Good catch!


https://reviews.llvm.org/D28835



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to