]> granicus.if.org Git - clang/commitdiff
Fix a couple uninitialized variables from my previous commit.
authorSteve Naroff <snaroff@apple.com>
Mon, 8 Dec 2008 20:01:41 +0000 (20:01 +0000)
committerSteve Naroff <snaroff@apple.com>
Mon, 8 Dec 2008 20:01:41 +0000 (20:01 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@60713 91177308-0d34-0410-b5e6-96231b3b80d8

Driver/RewriteObjC.cpp

index b3f3e9221366baf82e44120dbe4b6af5264b2ce2..eabc87bef2db95f6af35438614cb5cddb2fa96b8 100644 (file)
@@ -412,7 +412,9 @@ void RewriteObjC::Initialize(ASTContext &context) {
   BcLabelCount = 0;
   SuperContructorFunctionDecl = 0;
   NumObjCStringLiterals = 0;
-  
+  PropParentMap = 0;
+  CurrentBody = 0;
+
   // Get the ID and start/end of the main file.
   MainFileID = SM->getMainFileID();
   const llvm::MemoryBuffer *MainBuf = SM->getBuffer(MainFileID);