EricWF added a comment.

This LGTM after applying the fixes.



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


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