From 933c6723a43f26ff55cfa582a5826fc3c798bc7f Mon Sep 17 00:00:00 2001 From: Fariborz Jahanian Date: Sat, 11 Sep 2010 01:27:29 +0000 Subject: Fixes an obscure bug in importd block variable layout information when imported variable is used more than once. Originally though to be a bug in importing block varibles. Fixes radar 8417746. llvm-svn: 113675 --- clang/lib/CodeGen/CGObjCGNU.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'clang/lib/CodeGen/CGObjCGNU.cpp') diff --git a/clang/lib/CodeGen/CGObjCGNU.cpp b/clang/lib/CodeGen/CGObjCGNU.cpp index d7960beb1d1..0b3e31db049 100644 --- a/clang/lib/CodeGen/CGObjCGNU.cpp +++ b/clang/lib/CodeGen/CGObjCGNU.cpp @@ -213,7 +213,7 @@ public: const ObjCInterfaceDecl *Interface, const ObjCIvarDecl *Ivar); virtual llvm::Constant *GCBlockLayout(CodeGen::CodeGenFunction &CGF, - const llvm::SmallVectorImpl &) { + const llvm::SmallVectorImpl &) { return NULLPtr; } }; -- cgit v1.2.3