From: Douglas Gregor Date: Tue, 17 Jan 2012 23:38:32 +0000 (+0000) Subject: Make sure to initialize ExternalProtocolPtrTy X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=65a1e6707de0d6641e70d0a6edd7593fae85df3c;p=clang Make sure to initialize ExternalProtocolPtrTy git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@148358 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/CGObjCMac.cpp b/lib/CodeGen/CGObjCMac.cpp index 45fe53d9a5..159e927508 100644 --- a/lib/CodeGen/CGObjCMac.cpp +++ b/lib/CodeGen/CGObjCMac.cpp @@ -4233,7 +4233,8 @@ CGObjCNonFragileABIMac::CGObjCNonFragileABIMac(CodeGen::CodeGenModule &cgm) /* *** */ ObjCCommonTypesHelper::ObjCCommonTypesHelper(CodeGen::CodeGenModule &cgm) - : VMContext(cgm.getLLVMContext()), CGM(cgm) { + : VMContext(cgm.getLLVMContext()), CGM(cgm), ExternalProtocolPtrTy(0) +{ CodeGen::CodeGenTypes &Types = CGM.getTypes(); ASTContext &Ctx = CGM.getContext();