diff options
author | Fariborz Jahanian <fjahanian@apple.com> | 2010-09-11 01:27:29 +0000 |
---|---|---|
committer | Fariborz Jahanian <fjahanian@apple.com> | 2010-09-11 01:27:29 +0000 |
commit | 933c6723a43f26ff55cfa582a5826fc3c798bc7f (patch) | |
tree | 2b4590dd012f9e2d4dcee5150ee78ca233648c41 /clang/lib/CodeGen/CGObjCGNU.cpp | |
parent | 8f22a243b743efee5cf94f5afc8461f70ce00fd2 (diff) | |
download | bcm5719-llvm-933c6723a43f26ff55cfa582a5826fc3c798bc7f.tar.gz bcm5719-llvm-933c6723a43f26ff55cfa582a5826fc3c798bc7f.zip |
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
Diffstat (limited to 'clang/lib/CodeGen/CGObjCGNU.cpp')
-rw-r--r-- | clang/lib/CodeGen/CGObjCGNU.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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 BlockDeclRefExpr *> &) { + const llvm::SmallVectorImpl<const Expr *> &) { return NULLPtr; } }; |