aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGObjC.cpp
diff options
context:
space:
mode:
authorAnders Carlsson <andersca@mac.com>2008-08-30 19:51:14 +0000
committerAnders Carlsson <andersca@mac.com>2008-08-30 19:51:14 +0000
commit3d8400d9a61aa4b63ff35e5cede405b32a41425e (patch)
treeb342d74378b17f4cba0a86ad7875f13aa624586f /lib/CodeGen/CGObjC.cpp
parentbd4c1ada2e8668f43a865dc2c662085cf61940c4 (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/CGObjC.cpp')
-rw-r--r--lib/CodeGen/CGObjC.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/CodeGen/CGObjC.cpp b/lib/CodeGen/CGObjC.cpp
index 79b50114b7..3b7e3a13c9 100644
--- a/lib/CodeGen/CGObjC.cpp
+++ b/lib/CodeGen/CGObjC.cpp
@@ -16,6 +16,7 @@
#include "CodeGenModule.h"
#include "clang/AST/ASTContext.h"
#include "clang/AST/DeclObjC.h"
+#include "llvm/ADT/STLExtras.h"
using namespace clang;
using namespace CodeGen;
@@ -260,4 +261,9 @@ void CodeGenFunction::EmitObjCPropertySet(const ObjCPropertyRefExpr *E,
false, Args);
}
+void CodeGenFunction::EmitObjCForCollectionStmt(const ObjCForCollectionStmt &S)
+{
+ ErrorUnsupported(&S, "for ... in statement");
+}
+
CGObjCRuntime::~CGObjCRuntime() {}