]> granicus.if.org Git - clang/commitdiff
More GRStateRef removal fix.
authorZhongxing Xu <xuzhongxing@gmail.com>
Thu, 18 Jun 2009 03:42:19 +0000 (03:42 +0000)
committerZhongxing Xu <xuzhongxing@gmail.com>
Thu, 18 Jun 2009 03:42:19 +0000 (03:42 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@73674 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Analysis/PathSensitive/GRExprEngineBuilders.h

index 6c23745de23a5a44eb5f30105b3c20871efafe4d..0f3a1372a0f04c297bae33636b48582e6f227600 100644 (file)
@@ -83,11 +83,9 @@ public:
         Dst.Add(Pred);
     }
   }
-  
-  GRStateRef getState() {
-    return GRStateRef(state, Eng.getStateManager());
-  }
 
+  const GRState *getState() { return state; }
+  
   GRStateManager& getStateManager() {
     return Eng.getStateManager();
   }