Merged ValueState and ValueStateImpl into just ValueState, with GRExprEngine::StateTy just becoming ValueState*.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@47714 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/Analysis/GRSimpleVals.cpp b/Analysis/GRSimpleVals.cpp
index a5e8e57..4ed80af 100644
--- a/Analysis/GRSimpleVals.cpp
+++ b/Analysis/GRSimpleVals.cpp
@@ -340,11 +340,9 @@
// Transfer function for Function Calls.
//===----------------------------------------------------------------------===//
-ValueStateImpl*
+ValueState*
GRSimpleVals::EvalCall(ValueStateManager& StateMgr, ValueManager& ValMgr,
- CallExpr* CE, LVal L, ValueStateImpl* StImpl) {
-
- ValueState St(StImpl);
+ CallExpr* CE, LVal L, ValueState* St) {
// Invalidate all arguments passed in by reference (LVals).
@@ -357,5 +355,5 @@
St = StateMgr.SetRVal(St, cast<LVal>(V), UnknownVal());
}
- return St.getImpl();
+ return St;
}