diff options
author | Zhongxing Xu <xuzhongxing@gmail.com> | 2010-02-04 02:39:47 +0000 |
---|---|---|
committer | Zhongxing Xu <xuzhongxing@gmail.com> | 2010-02-04 02:39:47 +0000 |
commit | c999ed792900026c462027e546d63c3f39310755 (patch) | |
tree | a62d860c4b8600ca704e0cba267003fa824cf75e /lib/Checker/FlatStore.cpp | |
parent | a3218e7399a99ec7f64c2efc027d9f61eaeb0ad4 (diff) |
Now that CastRetrievedVal returns SVal, there is no need to use CastResult.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@95279 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Checker/FlatStore.cpp')
-rw-r--r-- | lib/Checker/FlatStore.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/Checker/FlatStore.cpp b/lib/Checker/FlatStore.cpp index ceb9870107..99afbb8931 100644 --- a/lib/Checker/FlatStore.cpp +++ b/lib/Checker/FlatStore.cpp @@ -27,7 +27,7 @@ public: RBFactory(mgr.getAllocator()), BVFactory(mgr.getAllocator()) {} - SValuator::CastResult Retrieve(const GRState *state, Loc loc, QualType T); + SVal Retrieve(const GRState *state, Loc loc, QualType T); const GRState *Bind(const GRState *state, Loc loc, SVal val); Store Remove(Store St, Loc L); const GRState *BindCompoundLiteral(const GRState *state, @@ -73,9 +73,8 @@ StoreManager *clang::CreateFlatStoreManager(GRStateManager &StMgr) { return new FlatStoreManager(StMgr); } -SValuator::CastResult FlatStoreManager::Retrieve(const GRState *state, Loc loc, - QualType T) { - return SValuator::CastResult(state, UnknownVal()); +SVal FlatStoreManager::Retrieve(const GRState *state, Loc loc, QualType T) { + return UnknownVal(); } const GRState *FlatStoreManager::Bind(const GRState *state, Loc loc, SVal val) { |