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

Corentin Jabot via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jul 27 00:49:39 PDT 2023


cor3ntin 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]);
----------------
how could DiscardResult ever be true here (we return L655?)


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

https://reviews.llvm.org/D156047



More information about the cfe-commits mailing list