[clang] [Clang][Interp] Fix handling of `DecompositionDecl` (PR #100400)
via cfe-commits
cfe-commits at lists.llvm.org
Wed Jul 24 08:34:13 PDT 2024
================
@@ -3593,8 +3593,14 @@ VarCreationState Compiler<Emitter>::visitDecl(const VarDecl *VD) {
if (R.notCreated())
return R;
- if (R)
- return true;
+ if (R) {
----------------
yronglin wrote:
This change just follow current ExprConstant's behavior, but it's no value for this issue, should we remove it?
https://github.com/llvm/llvm-project/pull/100400
More information about the cfe-commits
mailing list