From: Ted Kremenek Date: Wed, 11 Mar 2009 02:23:27 +0000 (+0000) Subject: Add accessor method to return a GRStateManager's internal ConstraintManager. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=78a5361ae7cb6f468a6dc721f34883072cf11b34;p=clang Add accessor method to return a GRStateManager's internal ConstraintManager. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@66625 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/Analysis/PathSensitive/GRState.h b/include/clang/Analysis/PathSensitive/GRState.h index 9c30aa631d..72418583ae 100644 --- a/include/clang/Analysis/PathSensitive/GRState.h +++ b/include/clang/Analysis/PathSensitive/GRState.h @@ -333,6 +333,7 @@ public: llvm::BumpPtrAllocator& getAllocator() { return Alloc; } MemRegionManager& getRegionManager() { return StoreMgr->getRegionManager(); } StoreManager& getStoreManager() { return *StoreMgr; } + ConstraintManager& getConstraintManager() { return *ConstraintMgr; } const GRState* BindDecl(const GRState* St, const VarDecl* VD, SVal IVal) { // Store manager should return a persistent state.