[all-commits] [llvm/llvm-project] 48a4b6: [clang] Classify binary op value kinds use Classif...
Yihan Wang via All-commits
all-commits at lists.llvm.org
Tue Jun 9 09:49:58 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 48a4b66451149e0c456a5479c695d894d368de2d
https://github.com/llvm/llvm-project/commit/48a4b66451149e0c456a5479c695d894d368de2d
Author: Yihan Wang <yronglin777 at gmail.com>
Date: 2026-06-10 (Wed, 10 Jun 2026)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/lib/AST/ExprClassification.cpp
A clang/test/AST/dependent-assignment-classification.cpp
Log Message:
-----------
[clang] Classify binary op value kinds use ClassifyExprValueKind when it's type-dependent (#202696)
The crash is from an internal inconsistency in Clang’s expression
classification.
Expr::ClassifyImpl computes a classification like CL_LValue or
CL_PRValue, then asserts that this agrees with the AST node’s own value
category:
- clang/lib/AST/ExprClassification.cpp:37
- CL_LValue must satisfy E->isLValue()
- CL_PRValue must satisfy E->isPRValue()
Fixes https://github.com/llvm/llvm-project/issues/202693.
Signed-off-by: yronglin <yronglin777 at gmail.com>
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