]> granicus.if.org Git - clang/commitdiff
Sorry, that assertion actually already exists.
authorJohn McCall <rjmccall@apple.com>
Thu, 15 Sep 2011 01:55:23 +0000 (01:55 +0000)
committerJohn McCall <rjmccall@apple.com>
Thu, 15 Sep 2011 01:55:23 +0000 (01:55 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@139770 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/CGClass.cpp

index 87eabe9e6e40611336420c3484480e255a6179c0..71cb13e9df3da2417cb3cbe4bb61de6e8e73dccb 100644 (file)
@@ -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);