[all-commits] [llvm/llvm-project] fefdb4: [Clang] Fix Variable Length Array `_Countof` Crash...
Vincent via All-commits
all-commits at lists.llvm.org
Mon Aug 25 12:07:10 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: fefdb494bfb881047343fdcad95547205a9d60ff
https://github.com/llvm/llvm-project/commit/fefdb494bfb881047343fdcad95547205a9d60ff
Author: Vincent <llvm at viceroygroup.ca>
Date: 2025-08-25 (Mon, 25 Aug 2025)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/lib/AST/ByteCode/Compiler.cpp
M clang/lib/AST/ExprConstant.cpp
A clang/test/Sema/gh152826.c
Log Message:
-----------
[Clang] Fix Variable Length Array `_Countof` Crash (#154627)
Check for missing VLA size expressions (e.g. in int a[*][10]) before
evaluation to avoid crashes in _Countof and constant expression checks.
Fixes #152826
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list