diff options
| author | Fariborz Jahanian <fjahanian@apple.com> | 2011-09-02 21:33:44 +0000 |
|---|---|---|
| committer | Fariborz Jahanian <fjahanian@apple.com> | 2011-09-02 21:33:44 +0000 |
| commit | 2bb8270e6f149cf56e2c5ea0c71cf7b9c02e7f74 (patch) | |
| tree | 39d20347891418f61c03f9a569f7e6dab58c258a /clang/lib/CodeGen | |
| parent | a216debb37307bfe80231b2c2b6cf506d227098d (diff) | |
| download | bcm5719-llvm-2bb8270e6f149cf56e2c5ea0c71cf7b9c02e7f74.tar.gz bcm5719-llvm-2bb8270e6f149cf56e2c5ea0c71cf7b9c02e7f74.zip | |
blocks: Support capturing complex variable in block.
// rdar://10033896
llvm-svn: 139041
Diffstat (limited to 'clang/lib/CodeGen')
| -rw-r--r-- | clang/lib/CodeGen/CGExprComplex.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/CodeGen/CGExprComplex.cpp b/clang/lib/CodeGen/CGExprComplex.cpp index 1a27d1322bc..c7b9a307165 100644 --- a/clang/lib/CodeGen/CGExprComplex.cpp +++ b/clang/lib/CodeGen/CGExprComplex.cpp @@ -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); } |

