aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhongxing Xu <xuzhongxing@gmail.com>2010-07-23 05:55:01 +0000
committerZhongxing Xu <xuzhongxing@gmail.com>2010-07-23 05:55:01 +0000
commitd5ef7b26f7e17bc147a549353decebed14797f83 (patch)
treeced1d0ace7d9548664b2f013a7f0c61a0b86e511
parent1f19124c70093d2ef0c06eed63ca6080611800a3 (diff)
Change arg type.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@109218 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/clang/Checker/PathSensitive/GRState.h2
-rw-r--r--lib/Checker/GRState.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/clang/Checker/PathSensitive/GRState.h b/include/clang/Checker/PathSensitive/GRState.h
index 2787976e74..63587a3c5f 100644
--- a/include/clang/Checker/PathSensitive/GRState.h
+++ b/include/clang/Checker/PathSensitive/GRState.h
@@ -454,7 +454,7 @@ public:
/// Marshal a new state for the callee in another translation unit.
/// 'state' is owned by the caller's engine.
- const GRState *MarshalState(const GRState *state, const LocationContext *L);
+ const GRState *MarshalState(const GRState *state, const StackFrameContext *L);
public:
diff --git a/lib/Checker/GRState.cpp b/lib/Checker/GRState.cpp
index 67b3dfe0b6..69470bbbb2 100644
--- a/lib/Checker/GRState.cpp
+++ b/lib/Checker/GRState.cpp
@@ -58,7 +58,7 @@ GRStateManager::RemoveDeadBindings(const GRState* state,
}
const GRState *GRStateManager::MarshalState(const GRState *state,
- const LocationContext *InitLoc) {
+ const StackFrameContext *InitLoc) {
// make up an empty state for now.
GRState State(this,
EnvMgr.getInitialEnvironment(),