From 6e78e1b22f3b16bb2ef76950b9b75f060bdba7bf Mon Sep 17 00:00:00 2001 From: Zhongxing Xu Date: Thu, 23 Oct 2008 01:35:34 +0000 Subject: [PATCH] Added a method to ElementRegion. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@58020 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/clang/Analysis/PathSensitive/MemRegion.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/clang/Analysis/PathSensitive/MemRegion.h b/include/clang/Analysis/PathSensitive/MemRegion.h index a49233fb1c..ff419a8e06 100644 --- a/include/clang/Analysis/PathSensitive/MemRegion.h +++ b/include/clang/Analysis/PathSensitive/MemRegion.h @@ -273,6 +273,8 @@ class ElementRegion : public SubRegion { public: + SVal getIndex() const { return Index; } + void Profile(llvm::FoldingSetNodeID& ID) const; static bool classof(const MemRegion* R) { -- 2.40.0