Hi Clang,<br><br>The attached patch adds a Checker to clang,
it checks improper uses of delete operator(now using delete instead of delete[] to delete an array). I add poststmt check to VisitCXXNewExpr and prestmt check to VisitCXXDeleteExpr.<br>
<br>I will appreciate it if there are any advice about this patch.<br clear="all"><br>-- <br>Best regards!<br><br>Lei Zhang<br>