tbaeder added inline comments.

================
Comment at: clang/lib/AST/Interp/ByteCodeExprGen.cpp:1022
+
+    if (DiscardResult)
+      return this->emitPopPtr(E);
----------------
shafik wrote:
> Could you just pass `DiscardResult` to `visitLocalInitializer`
Nope, the `visitInitializer` function(s) don't handle `DiscardResult` at all 
right now; they just initialize an already existing value.


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

https://reviews.llvm.org/D153653

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to