[cfe-commits] r58020 - /cfe/trunk/include/clang/Analysis/PathSensitive/MemRegion.h

Zhongxing Xu xuzhongxing at gmail.com
Wed Oct 22 18:35:34 PDT 2008


Author: zhongxingxu
Date: Wed Oct 22 20:35:34 2008
New Revision: 58020

URL: http://llvm.org/viewvc/llvm-project?rev=58020&view=rev
Log:
Added a method to ElementRegion.

Modified:
    cfe/trunk/include/clang/Analysis/PathSensitive/MemRegion.h

Modified: cfe/trunk/include/clang/Analysis/PathSensitive/MemRegion.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Analysis/PathSensitive/MemRegion.h?rev=58020&r1=58019&r2=58020&view=diff

==============================================================================
--- cfe/trunk/include/clang/Analysis/PathSensitive/MemRegion.h (original)
+++ cfe/trunk/include/clang/Analysis/PathSensitive/MemRegion.h Wed Oct 22 20:35:34 2008
@@ -273,6 +273,8 @@
 
 public:
 
+  SVal getIndex() const { return Index; }
+
   void Profile(llvm::FoldingSetNodeID& ID) const;
 
   static bool classof(const MemRegion* R) {





More information about the cfe-commits mailing list