Silence an unused variable warning during release builds by folding the
expression into the assert. llvm-svn: 119143
This commit is contained in:
parent
731d392d1c
commit
99da11cf04
|
@ -361,9 +361,8 @@ CodeGenFunction::EmitSynthesizedCXXCopyCtor(llvm::Value *Dest,
|
|||
if (E->requiresZeroInitialization())
|
||||
EmitNullInitialization(Dest, E->getType());
|
||||
|
||||
const ConstantArrayType *Array
|
||||
= getContext().getAsConstantArrayType(E->getType());
|
||||
assert (!Array && "EmitSynthesizedCXXCopyCtor - Copied-in Array");
|
||||
assert(!getContext().getAsConstantArrayType(E->getType())
|
||||
&& "EmitSynthesizedCXXCopyCtor - Copied-in Array");
|
||||
EmitSynthesizedCXXCopyCtorCall(CD, Dest, Src,
|
||||
E->arg_begin(), E->arg_end());
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue