================
@@ -1633,6 +1633,14 @@ static bool interp__builtin_operator_delete(InterpState 
&S, CodePtr OpPC,
   const Expr *Source = nullptr;
   const Block *BlockToDelete = nullptr;
 
+  assert(Call->getNumArgs() >= 1);
----------------
cakgok wrote:

Done. Assertion now uses the variable, in line with what `_operator_new` does. 

https://github.com/llvm/llvm-project/pull/195741
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to