[PATCH] D153653: [clang][Interp] Make CXXTemporaryObjectExprs leave a value behind

Shafik Yaghmour via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jun 26 10:41:35 PDT 2023


shafik added inline comments.


================
Comment at: clang/lib/AST/Interp/ByteCodeExprGen.cpp:1022
+
+    if (DiscardResult)
+      return this->emitPopPtr(E);
----------------
Could you just pass `DiscardResult` to `visitLocalInitializer`


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

https://reviews.llvm.org/D153653



More information about the cfe-commits mailing list