@@ -2319,9 +2319,9 @@ def warn_cxx20_compat_aggregate_init_with_ctors : Warning<
23192319 "aggregate initialization of type %0 with user-declared constructors "
23202320 "is incompatible with C++20">, DefaultIgnore, InGroup<CXX20Compat>;
23212321def warn_cxx20_compat_requires_explicit_init_non_aggregate : Warning<
2322- "explicit initialization of field %0 may not be enforced in C++20 as type %1 "
2323- "will become a non-aggregate due to the presence of user-declared "
2324- "constructors">, DefaultIgnore, InGroup<CXX20Compat>;
2322+ "explicit initialization of field %0 will not be enforced in C++20 and later because %1 "
2323+ "has a user-declared constructor, making the type no longer an aggregate">,
2324+ DefaultIgnore, InGroup<CXX20Compat>;
23252325def warn_cxx17_compat_aggregate_init_paren_list : Warning<
23262326 "aggregate initialization of type %0 from a parenthesized list of values "
23272327 "is a C++20 extension">, DefaultIgnore, InGroup<CXX20>;
@@ -2352,8 +2352,8 @@ def err_init_reference_member_uninitialized : Error<
23522352def note_uninit_reference_member : Note<
23532353 "uninitialized reference member is here">;
23542354def warn_field_requires_explicit_init : Warning<
2355- "field %select{%1|in %1}0 is not explicitly initialized, but was marked as "
2356- "requiring explicit initialization">, InGroup<UninitializedExplicitInit>;
2355+ "field %select{%1|in %1}0 requires explicit initialization but is not explicitly initialized">,
2356+ InGroup<UninitializedExplicitInit>;
23572357def warn_field_is_uninit : Warning<"field %0 is uninitialized when used here">,
23582358 InGroup<Uninitialized>;
23592359def warn_base_class_is_uninit : Warning<
0 commit comments