================ @@ -7810,9 +7813,11 @@ class Sema final : public SemaBase { } bool isInLifetimeExtendingContext() const { - assert(!ExprEvalContexts.empty() && ---------------- erichkeane wrote:
Sure, but why would this be in a case where we're not in an evaluation context? You're removing the assert, and it doesn't seem to make sense to check a context when we don't have one. https://github.com/llvm/llvm-project/pull/108039 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits