From: John McCall Date: Thu, 15 Sep 2011 01:55:23 +0000 (+0000) Subject: Sorry, that assertion actually already exists. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3460c0c761eb4b4b5d835aeda3807f81709df8ef;p=clang Sorry, that assertion actually already exists. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@139770 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/CGClass.cpp b/lib/CodeGen/CGClass.cpp index 87eabe9e6e..71cb13e9df 100644 --- a/lib/CodeGen/CGClass.cpp +++ b/lib/CodeGen/CGClass.cpp @@ -559,8 +559,6 @@ static void EmitMemberInitializer(CodeGenFunction &CGF, LHS = CGF.EmitLValueForFieldInitialization(ThisPtr, Field, 0); } - assert(MemberInit->getInit()); - if (!CGF.hasAggregateLLVMType(Field->getType())) { if (LHS.isSimple()) { CGF.EmitExprAsInit(MemberInit->getInit(), Field, LHS, false);