From: Anna Zaks Date: Mon, 16 Apr 2012 21:51:06 +0000 (+0000) Subject: [analyzer] +comments X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ffce11b95aad43cae18ac8700c026f0d6f62dfa2;p=clang [analyzer] +comments git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@154865 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/StaticAnalyzer/Core/PathSensitive/SVals.h b/include/clang/StaticAnalyzer/Core/PathSensitive/SVals.h index ed01db25ef..ce3eb1db83 100644 --- a/include/clang/StaticAnalyzer/Core/PathSensitive/SVals.h +++ b/include/clang/StaticAnalyzer/Core/PathSensitive/SVals.h @@ -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(Data); } + /// \brief Get the underlining region and strip casts. const MemRegion* stripCasts() const; template