From: Zhongxing Xu Date: Fri, 23 Jul 2010 05:55:01 +0000 (+0000) Subject: Change arg type. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d5ef7b26f7e17bc147a549353decebed14797f83;p=clang Change arg type. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@109218 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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(),