[PATCH] D15674: [CodeGen] Fix assignments of inline layouts into the byref structure

John McCall via cfe-commits cfe-commits at lists.llvm.org
Mon Dec 21 09:58:50 PST 2015


rjmccall added a comment.

You don't need a CodeGenFunction for this; just use llvm::ConstantExpr::getBitCast.  Please document the requirement that this returns an i8* in CGObjCRuntime.h.


http://reviews.llvm.org/D15674





More information about the cfe-commits mailing list