tbaeder added a comment. Thanks for the reproducer!
================ Comment at: clang/lib/AST/Interp/ByteCodeExprGen.cpp:748 + } else { + assert(false && "default initializer for non-primitive type"); + } ---------------- shafik wrote: > I guess this covers both arrays and class types? Yes. But now that I look at it, the check should probably be outside of the loop. CHANGES SINCE LAST ACTION https://reviews.llvm.org/D135013/new/ https://reviews.llvm.org/D135013 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits