]> granicus.if.org Git - clang/commitdiff
Fix build.
authorTed Kremenek <kremenek@apple.com>
Tue, 23 Jun 2009 21:50:16 +0000 (21:50 +0000)
committerTed Kremenek <kremenek@apple.com>
Tue, 23 Jun 2009 21:50:16 +0000 (21:50 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@74009 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Analysis/PathSensitive/GRState.h

index 285bd02671b1658a6338c16f364a652cb129c6f1..38a2b5bec37f2fc5d3c580e54b667b77e8905e1f 100644 (file)
@@ -665,6 +665,14 @@ public:
 // Out-of-line method definitions for GRState.
 //===----------------------------------------------------------------------===//
 
+inline const VarRegion* GRState::getRegion(const VarDecl* D) const {
+  return Mgr->getRegionManager().getVarRegion(D);
+}
+
+inline const MemRegion* GRState::getSelfRegion() const {
+  return Mgr->StoreMgr->getSelfRegion(getStore());
+}
+  
 inline const GRState *GRState::assume(SVal Cond, bool Assumption) const {
   return Mgr->ConstraintMgr->Assume(this, Cond, Assumption);
 }