diff options
author | Anders Carlsson <andersca@mac.com> | 2008-08-30 19:51:14 +0000 |
---|---|---|
committer | Anders Carlsson <andersca@mac.com> | 2008-08-30 19:51:14 +0000 |
commit | 3d8400d9a61aa4b63ff35e5cede405b32a41425e (patch) | |
tree | b342d74378b17f4cba0a86ad7875f13aa624586f /lib/CodeGen/CGStmt.cpp | |
parent | bd4c1ada2e8668f43a865dc2c662085cf61940c4 (diff) |
Stub out CodeGenFunction::EmitObjCForCollectionStmt.
Add CodeGenFunction::EmitMemSetToZero and make AggExprEmitter::EmitAggregateClear use it.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@55573 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGStmt.cpp')
-rw-r--r-- | lib/CodeGen/CGStmt.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/CodeGen/CGStmt.cpp b/lib/CodeGen/CGStmt.cpp index 6d3bd43d5b..b766fe8a64 100644 --- a/lib/CodeGen/CGStmt.cpp +++ b/lib/CodeGen/CGStmt.cpp @@ -92,8 +92,8 @@ void CodeGenFunction::EmitStmt(const Stmt *S) { case Stmt::ObjCAtSynchronizedStmtClass: ErrorUnsupported(S, "@synchronized statement"); break; - case Stmt::ObjCForCollectionStmtClass: - ErrorUnsupported(S, "for ... in statement"); + case Stmt::ObjCForCollectionStmtClass: + EmitObjCForCollectionStmt(cast<ObjCForCollectionStmt>(*S)); break; } } |