================ @@ -727,6 +729,44 @@ void InitListChecker::FillInEmptyInitForField(unsigned Init, FieldDecl *Field, if (hadError || VerifyOnly) { // Do nothing } else if (Init < NumInits) { ---------------- zygoloid wrote:
Is it OK that we don't warn on the `else` case here? Do we still warn for: ```c++ struct A { int x, y; }; A a = {.x = 1}; // missing `.y` initializer ``` https://github.com/llvm/llvm-project/pull/70829 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits