]> granicus.if.org Git - clang/commitdiff
Add comments.
authorZhongxing Xu <xuzhongxing@gmail.com>
Thu, 4 Dec 2008 01:12:41 +0000 (01:12 +0000)
committerZhongxing Xu <xuzhongxing@gmail.com>
Thu, 4 Dec 2008 01:12:41 +0000 (01:12 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@60516 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Analysis/RegionStore.cpp

index 9753b914f2c7fbae319bb2cb9d55820f553d57d8..006b613528f7c8e80b7d7d2c38e7ce08e68f4dbf 100644 (file)
@@ -148,7 +148,13 @@ private:
   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.