aboutsummaryrefslogtreecommitdiff
path: root/lib/Analysis/RegionStore.cpp
diff options
context:
space:
mode:
authorZhongxing Xu <xuzhongxing@gmail.com>2008-10-29 02:34:02 +0000
committerZhongxing Xu <xuzhongxing@gmail.com>2008-10-29 02:34:02 +0000
commit8b2e05d9eef692f30054216237e776cb51acd054 (patch)
tree946b3eb0cecc5dba12dc8d6d7b6f0cb5c2366079 /lib/Analysis/RegionStore.cpp
parent15da57e66cade0c2cab752f925e838b22daadafc (diff)
Rename: AddDecl => BindDecl
BindDecl better describes what the function does: - Bind the VarDecl to its memory region - Bind the memory region to some initial value. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@58359 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/RegionStore.cpp')
-rw-r--r--lib/Analysis/RegionStore.cpp9
1 files changed, 4 insertions, 5 deletions
diff --git a/lib/Analysis/RegionStore.cpp b/lib/Analysis/RegionStore.cpp
index 1c73ceae20..d5fb4d2a9a 100644
--- a/lib/Analysis/RegionStore.cpp
+++ b/lib/Analysis/RegionStore.cpp
@@ -93,8 +93,8 @@ public:
return store;
}
- Store AddDecl(Store store, const VarDecl* VD, Expr* Ex, SVal InitVal,
- unsigned Count);
+ Store BindDecl(Store store, const VarDecl* VD, Expr* Ex, SVal InitVal,
+ unsigned Count);
static inline RegionBindingsTy GetRegionBindings(Store store) {
return RegionBindingsTy(static_cast<const RegionBindingsTy::TreeTy*>(store));
@@ -292,9 +292,8 @@ Store RegionStoreManager::getInitialStore() {
return St;
}
-Store RegionStoreManager::AddDecl(Store store,
- const VarDecl* VD, Expr* Ex,
- SVal InitVal, unsigned Count) {
+Store RegionStoreManager::BindDecl(Store store, const VarDecl* VD, Expr* Ex,
+ SVal InitVal, unsigned Count) {
BasicValueFactory& BasicVals = StateMgr.getBasicVals();
SymbolManager& SymMgr = StateMgr.getSymbolManager();