[clang] [clang] Accept empty enum in MSVC compatible C (PR #159981)

Erich Keane via cfe-commits cfe-commits at lists.llvm.org
Mon Sep 29 09:01:24 PDT 2025


================
@@ -380,6 +380,7 @@ Bug Fixes in This Version
   a function without arguments caused us to try to access a non-existent argument.
   (#GH159080)
 - Fixed a failed assertion with empty filename arguments in ``__has_embed``. (#GH159898)
+- Accept empty enum in MSVC-compatible C. (#GH114402)
----------------
erichkeane wrote:

```suggestion
- Accept empty enumerations in MSVC-compatible C mode. (#GH114402)
```

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


More information about the cfe-commits mailing list