aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2009-06-23 21:50:16 +0000
committerTed Kremenek <kremenek@apple.com>2009-06-23 21:50:16 +0000
commitd696aa50200fda369b9031b80d1570688fc9b0be (patch)
treeecce049ad61f7cad52f12433a723354a24e1972f
parentc38e9affd4519ea199af22419c8c794973cc4b23 (diff)
Fix build.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@74009 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/clang/Analysis/PathSensitive/GRState.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/clang/Analysis/PathSensitive/GRState.h b/include/clang/Analysis/PathSensitive/GRState.h
index 285bd02671..38a2b5bec3 100644
--- a/include/clang/Analysis/PathSensitive/GRState.h
+++ b/include/clang/Analysis/PathSensitive/GRState.h
@@ -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);
}