summaryrefslogtreecommitdiffstats
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
commit73ede01cadf997a851ebb42e945450f0094de5d8 (patch)
tree8db66622ec308468f2efc87492c12a08563e229f
parent204fbaf5c2105c78586e026086d8b51a2fe37efd (diff)
downloadbcm5719-llvm-73ede01cadf997a851ebb42e945450f0094de5d8.tar.gz
bcm5719-llvm-73ede01cadf997a851ebb42e945450f0094de5d8.zip
Change arg type.
llvm-svn: 109218
-rw-r--r--clang/include/clang/Checker/PathSensitive/GRState.h2
-rw-r--r--clang/lib/Checker/GRState.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/clang/include/clang/Checker/PathSensitive/GRState.h b/clang/include/clang/Checker/PathSensitive/GRState.h
index 2787976e743..63587a3c5fb 100644
--- a/clang/include/clang/Checker/PathSensitive/GRState.h
+++ b/clang/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/clang/lib/Checker/GRState.cpp b/clang/lib/Checker/GRState.cpp
index 67b3dfe0b65..69470bbbb28 100644
--- a/clang/lib/Checker/GRState.cpp
+++ b/clang/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(),
OpenPOWER on IntegriCloud