@@ -6339,18 +6339,13 @@ def warn_c2y_compat_internal_in_extern_inline : Warning<
63396339 "using static %select{function|variable}0 %1 in an inline function with "
63406340 "external linkage is incompatible with standards before C2y">,
63416341 InGroup<CPre2yCompat>, DefaultIgnore;
6342- def ext_static_local_in_extern_inline
6343- : ExtWarn<"non-constant static local variable in an inline function with "
6344- "external linkage is a C2y extension">,
6345- InGroup<StaticLocalInInline>;
6346- def ext_static_local_in_extern_inline_quiet
6347- : Extension<ext_static_local_in_extern_inline.Summary>,
6348- InGroup<StaticLocalInInline>;
6349- def warn_c2y_compat_static_local_in_extern_inline
6350- : Warning<"non-constant static local variable in an inline function with "
6351- "external linkage is incompatible with standards before C2y">,
6352- InGroup<CPre2yCompat>,
6353- DefaultIgnore;
6342+ def ext_static_local_in_extern_inline : ExtWarn<
6343+ "non-constant static local variable in an inline function with "
6344+ "external linkage is a C2y extension">, InGroup<StaticLocalInInline>;
6345+ def warn_c2y_compat_static_local_in_extern_inline : Warning<
6346+ "non-constant static local variable in an inline function with "
6347+ "external linkage is incompatible with standards before C2y">,
6348+ InGroup<CPre2yCompat>, DefaultIgnore;
63546349def note_convert_inline_to_static : Note<
63556350 "use 'static' to give inline function %0 internal linkage">;
63566351
0 commit comments