[all-commits] [llvm/llvm-project] e7e204: Fix crash with invalid VLA in a type trait (#138543)
Aaron Ballman via All-commits
all-commits at lists.llvm.org
Mon May 5 10:14:53 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: e7e204234362cf9df412f91d0b401fabfbde3706
https://github.com/llvm/llvm-project/commit/e7e204234362cf9df412f91d0b401fabfbde3706
Author: Aaron Ballman <aaron at aaronballman.com>
Date: 2025-05-05 (Mon, 05 May 2025)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/lib/Sema/SemaExpr.cpp
M clang/test/SemaCXX/vla.cpp
Log Message:
-----------
Fix crash with invalid VLA in a type trait (#138543)
Transforming an expression to a potentially evaluated expression can
fail. If it does so, no longer attempt to make the type trait
expression, instead return an error expression. This ensures we don't
try to compute the dependence for an invalid type.
Fixes #138444
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