tbaeder added inline comments.
================ Comment at: clang/lib/AST/Interp/Interp.cpp:465 +bool CheckCtorCall(InterpState &S, CodePtr OpPC, const Pointer &This) { + assert(!This.isZero()); + const Record *R = This.getRecord(); ---------------- shafik wrote: > Should we also check `isLive()` or should that just turn into a diagnostic? Since cc79ddb52c310be50d2ed0e0307b695cc7c142ce, we use `CheckInvoke()` for the instance pointer, which already calls `isLive()`. CHANGES SINCE LAST ACTION https://reviews.llvm.org/D136694/new/ https://reviews.llvm.org/D136694 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits