variable that just happens to be stored in a wierd place.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@127235
91177308-0d34-0410-b5e6-
96231b3b80d8
ImplicitCastExpr l2r(ImplicitCastExpr::OnStack, type, CK_LValueToRValue,
declRef, VK_RValue);
- EmitAnyExprToMem(&l2r, blockField, /*volatile*/ false, /*init*/ true);
+ EmitExprAsInit(&l2r, variable, blockField,
+ getContext().getDeclAlign(variable),
+ /*captured by init*/ false);
}
// Push a destructor if necessary. The semantics for when this