[clang] Fix crash with invalid VLA in a type trait (PR #138543)

via cfe-commits cfe-commits at lists.llvm.org
Mon May 5 08:49:16 PDT 2025


================
@@ -287,6 +287,8 @@ Non-comprehensive list of changes in this release
   stack space when running on Apple AArch64 based platforms. This means that
   stack traces of Clang from debuggers, crashes, and profilers may look
   different than before.
+- Fixed a crash when a VLA with an invalid size expression was used within a
+  ``sizeof`` or ``typeof`` expression. #GH138444
----------------
cor3ntin wrote:

```suggestion
  ``sizeof`` or ``typeof`` expression. (#GH138444)
```

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


More information about the cfe-commits mailing list