[clang] [clang] Fix unexpected warnings after a01307a (PR #75591)

via cfe-commits cfe-commits at lists.llvm.org
Fri Dec 15 04:30:03 PST 2023


================
@@ -864,6 +864,14 @@ InitListChecker::FillInEmptyInitializations(const InitializedEntity &Entity,
       WarnIfMissingField &=
           SemaRef.getLangOpts().CPlusPlus || !hasAnyDesignatedInits(SForm);
 
+      if (OuterILE) {
----------------
mikaelholmen wrote:

Perhaps add a comment here about why this is needed?

https://github.com/llvm/llvm-project/pull/75591


More information about the cfe-commits mailing list