[clang] [clang] Fix Variable Length Array `_Countof` Crash (PR #154627)
via cfe-commits
cfe-commits at lists.llvm.org
Fri Aug 22 08:26:03 PDT 2025
================
@@ -222,6 +222,8 @@ Bug Fixes in This Version
-------------------------
- Fix a crash when marco name is empty in ``#pragma push_macro("")`` or
``#pragma pop_macro("")``. (#GH149762).
+- Fix a crash in variable length array (e.g. ``int a[*]``) function parameter type
+ being used in ``_Countof`` expression. (#GH152826)
----------------
yronglin wrote:
```suggestion
being used in ``_Countof`` expression. (#GH152826).
```
https://github.com/llvm/llvm-project/pull/154627
More information about the cfe-commits
mailing list