From: Zhongxing Xu Date: Thu, 18 Jun 2009 03:42:19 +0000 (+0000) Subject: More GRStateRef removal fix. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4d5d994a069d6f7513cc025266afcfa73b020405;p=clang More GRStateRef removal fix. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@73674 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/Analysis/PathSensitive/GRExprEngineBuilders.h b/include/clang/Analysis/PathSensitive/GRExprEngineBuilders.h index 6c23745de2..0f3a1372a0 100644 --- a/include/clang/Analysis/PathSensitive/GRExprEngineBuilders.h +++ b/include/clang/Analysis/PathSensitive/GRExprEngineBuilders.h @@ -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(); }