EricWF added inline comments.

================
Comment at: lib/Sema/SemaCoroutine.cpp:680
+  // likely due to the scope at in which this function is called.
+  auto *VD = Result.getAsSingle<VarDecl>();
+  if (!VD) {
----------------
@rsmith is this the correct way to build a `DeclRefExpr` to an existing global?


https://reviews.llvm.org/D31562



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

Reply via email to