================
@@ -14770,15 +14770,16 @@ bool
ArrayExprEvaluator::VisitCXXParenListOrInitListExpr(
Value = SL->getCodeUnit(I);
if (DestTy->isIntegerType()) {
Result.getArrayInitializedElt(ArrayIndex) = APValue(Value);
- } else {
- assert(DestTy->isFloatingType() && "unexpected type");
+ } else if (DestTy->isFloatingType()) {
----------------
tbaederr wrote:
I was thinking about complex type when suggesting this, not floating types
invalid for the target.
https://github.com/llvm/llvm-project/pull/182257
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits