[cfe-commits] r154865 - /cfe/trunk/include/clang/StaticAnalyzer/Core/PathSensitive/SVals.h
Anna Zaks
ganna at apple.com
Mon Apr 16 14:51:06 PDT 2012
Author: zaks
Date: Mon Apr 16 16:51:06 2012
New Revision: 154865
URL: http://llvm.org/viewvc/llvm-project?rev=154865&view=rev
Log:
[analyzer] +comments
Modified:
cfe/trunk/include/clang/StaticAnalyzer/Core/PathSensitive/SVals.h
Modified: cfe/trunk/include/clang/StaticAnalyzer/Core/PathSensitive/SVals.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/StaticAnalyzer/Core/PathSensitive/SVals.h?rev=154865&r1=154864&r2=154865&view=diff
==============================================================================
--- cfe/trunk/include/clang/StaticAnalyzer/Core/PathSensitive/SVals.h (original)
+++ cfe/trunk/include/clang/StaticAnalyzer/Core/PathSensitive/SVals.h Mon Apr 16 16:51:06 2012
@@ -425,10 +425,12 @@
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>
More information about the cfe-commits
mailing list