[cfe-commits] r109218 - in /cfe/trunk: include/clang/Checker/PathSensitive/GRState.h lib/Checker/GRState.cpp

Zhongxing Xu xuzhongxing at gmail.com
Thu Jul 22 22:55:01 PDT 2010


Author: zhongxingxu
Date: Fri Jul 23 00:55:01 2010
New Revision: 109218

URL: http://llvm.org/viewvc/llvm-project?rev=109218&view=rev
Log:
Change arg type.

Modified:
    cfe/trunk/include/clang/Checker/PathSensitive/GRState.h
    cfe/trunk/lib/Checker/GRState.cpp

Modified: cfe/trunk/include/clang/Checker/PathSensitive/GRState.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Checker/PathSensitive/GRState.h?rev=109218&r1=109217&r2=109218&view=diff
==============================================================================
--- cfe/trunk/include/clang/Checker/PathSensitive/GRState.h (original)
+++ cfe/trunk/include/clang/Checker/PathSensitive/GRState.h Fri Jul 23 00:55:01 2010
@@ -454,7 +454,7 @@
 
   /// 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:
 

Modified: cfe/trunk/lib/Checker/GRState.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Checker/GRState.cpp?rev=109218&r1=109217&r2=109218&view=diff
==============================================================================
--- cfe/trunk/lib/Checker/GRState.cpp (original)
+++ cfe/trunk/lib/Checker/GRState.cpp Fri Jul 23 00:55:01 2010
@@ -58,7 +58,7 @@
 }
 
 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(),





More information about the cfe-commits mailing list