[clang] fix(95366): enhance cast operation safety with LValue validation (PR #95479)
Aaron Ballman via cfe-commits
cfe-commits at lists.llvm.org
Fri Jun 14 06:30:05 PDT 2024
================
@@ -847,6 +847,7 @@ Bug Fixes to C++ Support
- Fixed several bugs in capturing variables within unevaluated contexts. (#GH63845), (#GH67260), (#GH69307),
(#GH88081), (#GH89496), (#GH90669) and (#GH91633).
- Fixed handling of brace ellison when building deduction guides. (#GH64625), (#GH83368).
+- Fix an assertion failure caused by non-lvalue usage in lvalue context. (GH95366).
----------------
AaronBallman wrote:
I think a better way to phrase this might be along the lines of: Fixed a failed assertion when attempting to convert an integer representing the difference between two label addresses (a GNU extension) to a pointer within a constant expression.
https://github.com/llvm/llvm-project/pull/95479
More information about the cfe-commits
mailing list