blocks: Support capturing complex variable in block.
// rdar://10033896 llvm-svn: 139041
This commit is contained in:
@@ -119,6 +119,7 @@ public:
|
||||
|
||||
// l-values.
|
||||
ComplexPairTy VisitDeclRefExpr(const Expr *E) { return EmitLoadOfLValue(E); }
|
||||
ComplexPairTy VisitBlockDeclRefExpr(const Expr *E) { return EmitLoadOfLValue(E); }
|
||||
ComplexPairTy VisitObjCIvarRefExpr(ObjCIvarRefExpr *E) {
|
||||
return EmitLoadOfLValue(E);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user