[cfe-commits] [PATCH] getLValueElement

Zhongxing Xu xuzhongxing at gmail.com
Wed Oct 22 07:35:35 PDT 2008


This implements the getLValueElement function for RegionStore. It only
handle integer indices currently.
The base region is assumed an ElementRegion because we expect VisitCast() to
evaluate the base expr's
value to be loc::MemRegionVal(ElementRegion). This is consistent with the C
standard, which says
expression of type array of T is cast to pointer to T.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20081022/97087064/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: element.patch
Type: application/octet-stream
Size: 2316 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20081022/97087064/attachment.obj>


More information about the cfe-commits mailing list