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.


_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to