[PATCH] [StaticAnalyzer]Handle Destructor call generated by C++ delete expr
kv.bhat at samsung.com
Thu Sep 12 01:17:36 PDT 2013
Implemented review comments.
1) Handled UnknownVal in VisitCXXDestructor.
2) Added more test cases (testNullDtorDerived, testNullAssigneddtor, testNulldtorArg)
I found one more issue during testing. In case of double delete; there is no actual stmt corresponding to
classInstance->~myDestructor call. This was resulting in a crash in MallocChecker. Handled the same and added a test case.
Please let me know your input on the same.
CHANGE SINCE LAST DIFF
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 7807 bytes
Desc: not available
More information about the cfe-commits