================ @@ -122,7 +122,10 @@ void UseDesignatedInitializersCheck::registerMatchers(MatchFinder *Finder) { Finder->addMatcher( initListExpr( hasType(cxxRecordDecl(RestrictToPODTypes ? isPOD() : isAggregate(), - unless(HasBaseWithFields)) + unless(anyOf(HasBaseWithFields, + IgnoreSingleElementAggregates + ? hasName("::std::array") ---------------- RiverDave wrote:
Thanks for clearing out my confusion!. Should be fixed now. https://github.com/llvm/llvm-project/pull/134774 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits