================
@@ -1035,7 +1031,11 @@ void CIRGenFunction::emitNewArrayInitializer(
   const Expr *init = e->getInitializer();
   Address endOfInit = Address::invalid();
   QualType::DestructionKind dtorKind = elementType.isDestructedType();
-  assert(!cir::MissingFeatures::cleanupDeactivationScope());
+  CleanupDeactivationScope deactivation(*this);
+
+  CharUnits elementSize = getContext().getTypeSizeInChars(elementType);
+  CharUnits elementAlign =
----------------
erichkeane wrote:

IS this going to be used anywhere else?  I see it is only currently referenced 
in the 1 place under the `dtorKind` test?  Should this just be calculated 
there, instead of always?

https://github.com/llvm/llvm-project/pull/198000
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to