]> granicus.if.org Git - clang/commitdiff
[analyzer] +comments
authorAnna Zaks <ganna@apple.com>
Mon, 16 Apr 2012 21:51:06 +0000 (21:51 +0000)
committerAnna Zaks <ganna@apple.com>
Mon, 16 Apr 2012 21:51:06 +0000 (21:51 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@154865 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/StaticAnalyzer/Core/PathSensitive/SVals.h

index ed01db25ef2e48eed9c2be2501aa2ed56bc1610e..ce3eb1db8365686289f5515b061cb6e67c5e0dd2 100644 (file)
@@ -425,10 +425,12 @@ class MemRegionVal : public Loc {
 public:
   explicit MemRegionVal(const MemRegion* r) : Loc(MemRegionKind, r) {}
 
+  /// \brief Get the underlining region.
   const MemRegion* getRegion() const {
     return static_cast<const MemRegion*>(Data);
   }
 
+  /// \brief Get the underlining region and strip casts.
   const MemRegion* stripCasts() const;
 
   template <typename REGION>