[PATCH] D24307: calculate extent size for memory regions allocated by C++ new expression
Daniel Krupp via cfe-commits
cfe-commits at lists.llvm.org
Fri Sep 9 06:16:28 PDT 2016
dkrupp updated this revision to Diff 70821.
dkrupp added a comment.
I tried to address all your comments.
1. computeExtentBegin() is greatly simplified.
2. addExtendSize() is simplified (scaleValue() function inlined)
3. new testcases added a) allocation and indexing of non-array element (int *ip =new int;) b) allocation of array with run-time size
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 8771 bytes
Desc: not available
More information about the cfe-commits