]> granicus.if.org Git - clang/commitdiff
Initialize couple of fields.
authorFariborz Jahanian <fjahanian@apple.com>
Sat, 13 Nov 2010 23:48:30 +0000 (23:48 +0000)
committerFariborz Jahanian <fjahanian@apple.com>
Sat, 13 Nov 2010 23:48:30 +0000 (23:48 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@119014 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/CGBlocks.cpp

index b186c963259492ddb609de1db41179bba931a402..4d68adc8cbd04a43306f51348d5712e635e83ec6 100644 (file)
@@ -25,7 +25,8 @@ using namespace clang;
 using namespace CodeGen;
 
 CGBlockInfo::CGBlockInfo(const char *N)
-  : Name(N), CXXThisRef(0), NeedsObjCSelf(false) {
+  : Name(N), CXXThisRef(0), NeedsObjCSelf(false),
+    HasCXXObject(false), BlockHasCopyDispose(false) {
     
   // Skip asm prefix, if any.
   if (Name && Name[0] == '\01')