[cfe-commits] r60516 - /cfe/trunk/lib/Analysis/RegionStore.cpp
Zhongxing Xu
xuzhongxing at gmail.com
Wed Dec 3 17:12:42 PST 2008
Author: zhongxingxu
Date: Wed Dec 3 19:12:41 2008
New Revision: 60516
URL: http://llvm.org/viewvc/llvm-project?rev=60516&view=rev
Log:
Add comments.
Modified:
cfe/trunk/lib/Analysis/RegionStore.cpp
Modified: cfe/trunk/lib/Analysis/RegionStore.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Analysis/RegionStore.cpp?rev=60516&r1=60515&r2=60516&view=diff
==============================================================================
--- cfe/trunk/lib/Analysis/RegionStore.cpp (original)
+++ cfe/trunk/lib/Analysis/RegionStore.cpp Wed Dec 3 19:12:41 2008
@@ -148,7 +148,13 @@
Store BindStructToVal(Store store, const TypedRegion* BaseR, SVal V);
Store BindStructToSymVal(Store store, const TypedRegion* BaseR);
+ /// Retrieve the values in a struct and return a CompoundVal, used when doing
+ /// struct copy:
+ /// struct s x, y;
+ /// x = y;
+ /// y's value is retrieved by this method.
SVal RetrieveStruct(Store store, const TypedRegion* R);
+
Store BindStruct(Store store, const TypedRegion* R, SVal V);
// Utility methods.
More information about the cfe-commits
mailing list