[PATCH] [StaticAnalyzer]Handle Destructor call generated by C++ delete expr
kv.bhat at samsung.com
Thu Sep 19 02:18:07 PDT 2013
Oops thanks for catching the crash. I was not able to see it in release mode when i tested.
The crash is due to the type of node we are creating.
We are trying to use StmtNodeBuilder to create a node when actually we do not have a Stmt associated with it!
What i think we need here is to create a node with PostImplicitCall.
When we enqueue it onto worklist we do not create extra nodes corresponding to this implicit call stmt and move to the next CFG element. This fixes the crash found in regression on debug mode.
Hi jordan_rose, zaks.anna,
CHANGE SINCE LAST DIFF
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 7881 bytes
Desc: not available
More information about the cfe-commits