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
diff --git a/lib/Checker/FlatStore.cpp b/lib/Checker/FlatStore.cpp
index ceb9870..99afbb8 100644
--- a/lib/Checker/FlatStore.cpp
+++ b/lib/Checker/FlatStore.cpp
@@ -27,7 +27,7 @@
       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 @@
   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) {