diff options
| author | Zhongxing Xu <xuzhongxing@gmail.com> | 2008-12-04 01:12:41 +0000 |
|---|---|---|
| committer | Zhongxing Xu <xuzhongxing@gmail.com> | 2008-12-04 01:12:41 +0000 |
| commit | 96c0fa8b42b23ca5ebff20b20c1208093c1a4c97 (patch) | |
| tree | 817af3421abd96a610187f5798f033764f93be22 /clang/lib | |
| parent | 45c2f9d32035156251a138a3873bdac610158e0b (diff) | |
| download | bcm5719-llvm-96c0fa8b42b23ca5ebff20b20c1208093c1a4c97.tar.gz bcm5719-llvm-96c0fa8b42b23ca5ebff20b20c1208093c1a4c97.zip | |
Add comments.
llvm-svn: 60516
Diffstat (limited to 'clang/lib')
| -rw-r--r-- | clang/lib/Analysis/RegionStore.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/clang/lib/Analysis/RegionStore.cpp b/clang/lib/Analysis/RegionStore.cpp index 9753b914f2c..006b613528f 100644 --- a/clang/lib/Analysis/RegionStore.cpp +++ b/clang/lib/Analysis/RegionStore.cpp @@ -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. |

