================
@@ -6339,9 +6339,11 @@ def warn_c2y_compat_internal_in_extern_inline : Warning<
"using static %select{function|variable}0 %1 in an inline function with "
"external linkage is incompatible with standards before C2y">,
InGroup<CPre2yCompat>, DefaultIgnore;
-def warn_static_local_in_extern_inline : Warning<
- "non-constant static local variable in inline function may be different "
- "in different files">, InGroup<StaticLocalInInline>;
+def warn_static_local_in_extern_inline
+ : ExtWarn<"non-constant static local variable in inline function may be "
+ "different "
+ "in different files">,
+ InGroup<StaticLocalInInline>;
----------------
Susikrishna wrote:
Done. Added the release note and reverted unrelated formatting changes.
https://github.com/llvm/llvm-project/pull/166332
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits