[clang] [Clang] Don't treat a declaration that declares nothing as an invalid statement (PR #224682)

Akash Manna via cfe-commits cfe-commits at lists.llvm.org
Wed Sep 23 06:21:58 PDT 2026


================
@@ -0,0 +1,33 @@
+// RUN: %clang_cc1 -std=gnu99 -verify -emit-llvm-only %s
+// RUN: %clang_cc1 -std=gnu99 -verify -emit-llvm-only -fno-recovery-ast %s
----------------
akash-manna-sky wrote:

Split: the diagnostics are in `Sema/GH215454.c` with `-fsyntax-only -verify` (both recovery modes), and the CodeGen tests only use `FileCheck`.


https://github.com/llvm/llvm-project/pull/224682


More information about the cfe-commits mailing list