diff options
author | Zhongxing Xu <xuzhongxing@gmail.com> | 2010-02-05 05:06:13 +0000 |
---|---|---|
committer | Zhongxing Xu <xuzhongxing@gmail.com> | 2010-02-05 05:06:13 +0000 |
commit | b4a9c612f901a47135ea531f60db997d4cc4cdf5 (patch) | |
tree | 44e5b1c338fb29d2bdf24e1c9caae718ee42bd89 /lib/Checker/Store.cpp | |
parent | a4e8c2a65a985782344a818d356c40d117fc4f12 (diff) |
More GRState* -> Store changes.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@95360 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Checker/Store.cpp')
-rw-r--r-- | lib/Checker/Store.cpp | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/lib/Checker/Store.cpp b/lib/Checker/Store.cpp index 98b86a9f46..c7746a6dec 100644 --- a/lib/Checker/Store.cpp +++ b/lib/Checker/Store.cpp @@ -224,16 +224,15 @@ SVal StoreManager::CastRetrievedVal(SVal V, const TypedRegion *R, return V; } -const GRState *StoreManager::InvalidateRegions(const GRState *state, - const MemRegion * const *I, - const MemRegion * const *End, - const Expr *E, - unsigned Count, - InvalidatedSymbols *IS) { +Store StoreManager::InvalidateRegions(Store store, + const MemRegion * const *I, + const MemRegion * const *End, + const Expr *E, unsigned Count, + InvalidatedSymbols *IS) { for ( ; I != End ; ++I) - state = InvalidateRegion(state, *I, E, Count, IS); + store = InvalidateRegion(store, *I, E, Count, IS); - return state; + return store; } //===----------------------------------------------------------------------===// |