[PATCH] D156047: [clang][Interp] Handle CXXParenListInitExprs

Timm Bäder via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jul 27 01:54:56 PDT 2023


tbaeder added inline comments.


================
Comment at: clang/lib/AST/Interp/ByteCodeExprGen.cpp:661
     assert(E->getNumInits() == 1);
     return DiscardResult ? this->discard(E->inits()[0])
                          : this->visit(E->inits()[0]);
----------------
cor3ntin wrote:
> how could DiscardResult ever be true here (we return L655?)
Ah yes,  you're right.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D156047/new/

https://reviews.llvm.org/D156047



More information about the cfe-commits mailing list