diff options
author | Jordy Rose <jediknil@belkadan.com> | 2010-08-14 20:44:32 +0000 |
---|---|---|
committer | Jordy Rose <jediknil@belkadan.com> | 2010-08-14 20:44:32 +0000 |
commit | ac0ab20e3be35c4525ce826c29110bbdb6812621 (patch) | |
tree | f02b99012fafe30823a04d2fae9fe75489ab062a /clang/lib/Checker/FlatStore.cpp | |
parent | 1f3a553b9b6484ca18275481afcbb44392bb6666 (diff) | |
download | bcm5719-llvm-ac0ab20e3be35c4525ce826c29110bbdb6812621.tar.gz bcm5719-llvm-ac0ab20e3be35c4525ce826c29110bbdb6812621.zip |
Add a callback for when region changes occur. Still somewhat of a work-in-progress, but working! Effect on clients: all changes to a store now go through GRState.
llvm-svn: 111078
Diffstat (limited to 'clang/lib/Checker/FlatStore.cpp')
-rw-r--r-- | clang/lib/Checker/FlatStore.cpp | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/clang/lib/Checker/FlatStore.cpp b/clang/lib/Checker/FlatStore.cpp index 64c6ed0620d..46e24773dbb 100644 --- a/clang/lib/Checker/FlatStore.cpp +++ b/clang/lib/Checker/FlatStore.cpp @@ -60,7 +60,7 @@ public: Store InvalidateRegions(Store store, const MemRegion * const *I, const MemRegion * const *E, const Expr *Ex, unsigned Count, InvalidatedSymbols *IS, - bool invalidateGlobals); + bool invalidateGlobals, InvalidatedRegions *Regions); void print(Store store, llvm::raw_ostream& Out, const char* nl, const char *sep); @@ -155,11 +155,12 @@ Store FlatStoreManager::BindDeclWithNoInit(Store store, const VarRegion *VR) { } Store FlatStoreManager::InvalidateRegions(Store store, - const MemRegion * const *I, - const MemRegion * const *E, - const Expr *Ex, unsigned Count, - InvalidatedSymbols *IS, - bool invalidateGlobals) { + const MemRegion * const *I, + const MemRegion * const *E, + const Expr *Ex, unsigned Count, + InvalidatedSymbols *IS, + bool invalidateGlobals, + InvalidatedRegions *Regions) { assert(false && "Not implemented"); return store; } |