[clang] [clang][bytecode] Fix sized builtin operator delete handling (PR #195741)
Timm Baeder via cfe-commits
cfe-commits at lists.llvm.org
Tue May 5 01:40:34 PDT 2026
================
@@ -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);
----------------
tbaederr wrote:
You should either get rid of the variable or use it in the assertion as well.
https://github.com/llvm/llvm-project/pull/195741
More information about the cfe-commits
mailing list