[cfe-dev] Representing the allocation in CXXNewExpr

Jordan Rose jediknil at belkadan.com
Thu Mar 29 20:03:59 PDT 2012


Okay, here's my first pass on this. It's not going to be as useful as I thought because the size argument /still/ needs to be treated specially in a lot of places, but it still helps the analyzer (or will when I put the appropriate changes through).

This passes the test suite, but I'm not sure if I missed any edge cases, especially when the expression is type-dependent.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: CXXNewExpr-allocation.patch
Type: application/octet-stream
Size: 29817 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20120329/b12a71b3/attachment.obj>


More information about the cfe-dev mailing list