diff options
author | Ted Kremenek <kremenek@apple.com> | 2010-11-24 00:54:37 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2010-11-24 00:54:37 +0000 |
commit | 3baf672378f105602d2b12f03f00277ae1936fe9 (patch) | |
tree | 3aff1c30c5f276162a7544f9b9786275beea410a /lib/Checker/GRState.cpp | |
parent | 97ab3ac0889b4956d518a145317e2d951428ba34 (diff) |
Adjust method calls to reflect name changes in
ImmutableSet/ImmtuableMap/ImmutableList APIs.
Along the way, clean up some method names in
the static analyzer so that they are more
descriptive and/or start with lowercase letters.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@120071 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Checker/GRState.cpp')
-rw-r--r-- | lib/Checker/GRState.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/Checker/GRState.cpp b/lib/Checker/GRState.cpp index dbbcb39aa0..86b6f81658 100644 --- a/lib/Checker/GRState.cpp +++ b/lib/Checker/GRState.cpp @@ -64,7 +64,7 @@ const GRState *GRStateManager::MarshalState(const GRState *state, GRState State(this, EnvMgr.getInitialEnvironment(), StoreMgr->getInitialStore(InitLoc), - GDMFactory.GetEmptyMap()); + GDMFactory.getEmptyMap()); return getPersistentState(State); } @@ -278,7 +278,7 @@ const GRState* GRStateManager::getInitialState(const LocationContext *InitLoc) { GRState State(this, EnvMgr.getInitialEnvironment(), StoreMgr->getInitialStore(InitLoc), - GDMFactory.GetEmptyMap()); + GDMFactory.getEmptyMap()); return getPersistentState(State); } @@ -420,7 +420,7 @@ GRStateManager::FindGDMContext(void* K, const GRState* GRStateManager::addGDM(const GRState* St, void* Key, void* Data){ GRState::GenericDataMap M1 = St->getGDM(); - GRState::GenericDataMap M2 = GDMFactory.Add(M1, Key, Data); + GRState::GenericDataMap M2 = GDMFactory.add(M1, Key, Data); if (M1 == M2) return St; @@ -432,7 +432,7 @@ const GRState* GRStateManager::addGDM(const GRState* St, void* Key, void* Data){ const GRState *GRStateManager::removeGDM(const GRState *state, void *Key) { GRState::GenericDataMap OldM = state->getGDM(); - GRState::GenericDataMap NewM = GDMFactory.Remove(OldM, Key); + GRState::GenericDataMap NewM = GDMFactory.remove(OldM, Key); if (NewM == OldM) return state; |