[flang-commits] [clang] [libc] [llvm] [compiler-rt] [clang-tools-extra] [libcxx] [flang] [C23] Complete support for WG14 N2508 (PR #71398)
Mariya Podchishchaeva via flang-commits
flang-commits at lists.llvm.org
Mon Nov 6 06:32:06 PST 2023
================
@@ -299,6 +299,12 @@ def note_missing_selector_name : Note<
def note_force_empty_selector_name : Note<
"or insert whitespace before ':' to use %0 as parameter name "
"and have an empty entry in the selector">;
+def ext_c_label_followed_by_declaration : ExtWarn<
+ "label followed by a declaration is a C23 extension">,
+ InGroup<C23>;
+def warn_c23_compat_label_followed_by_declaration : Warning<
+ "label followed by a declaration is incompatible with C standards before "
+ "C23">, InGroup<CPre23Compat>, DefaultIgnore;
----------------
Fznamznon wrote:
I can't find tests that would check that these messages are emitted. Are they coming?
https://github.com/llvm/llvm-project/pull/71398
More information about the flang-commits
mailing list