summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteve Naroff <snaroff@apple.com>2008-12-08 20:01:41 +0000
committerSteve Naroff <snaroff@apple.com>2008-12-08 20:01:41 +0000
commitf1ab600362a06e6e3655259992cd6c89a168b75d (patch)
treedbfe58aa6bc79fbb58abdcf6b9638bdda5e1570f
parent16873c6284e70ca0935fd3e19451c0a5bb758cc1 (diff)
downloadbcm5719-llvm-f1ab600362a06e6e3655259992cd6c89a168b75d.tar.gz
bcm5719-llvm-f1ab600362a06e6e3655259992cd6c89a168b75d.zip
Fix a couple uninitialized variables from my previous commit.
llvm-svn: 60713
-rw-r--r--clang/Driver/RewriteObjC.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/clang/Driver/RewriteObjC.cpp b/clang/Driver/RewriteObjC.cpp
index b3f3e922136..eabc87bef2d 100644
--- a/clang/Driver/RewriteObjC.cpp
+++ b/clang/Driver/RewriteObjC.cpp
@@ -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);
OpenPOWER on IntegriCloud