[PATCH] [StaticAnalyzer]Handle Destructor call generated by C++ delete expr

Anna Zaks zaks.anna at gmail.com
Tue Sep 17 08:55:14 PDT 2013


  By looking at createEndOfPath, we would probably report on the next statement if there was one after the second delete:

    const Stmt *S = getStmt(N);

    if (!S)
      S = getNextStmt(N);

http://llvm-reviews.chandlerc.com/D1594



More information about the cfe-commits mailing list