[PATCH] D57797: Variable auto-init: fix __block initialization

John McCall via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Feb 5 21:16:42 PST 2019


rjmccall added inline comments.


================
Comment at: lib/CodeGen/CGDecl.cpp:1611
       drillIntoBlockVariable(*this, Dst, &D);
+    }
     defaultInitNonTrivialCStructVar(Dst);
----------------
rjmccall wrote:
> Why don't you just initialize the payload right here, after we've drilled down to it?
I meant to delete this comment before submitting, sorry.  I am suggesting the other place.


Repository:
  rC Clang

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

https://reviews.llvm.org/D57797





More information about the cfe-commits mailing list