diff options
Diffstat (limited to 'include/clang/Analysis/PathSensitive/SVals.h')
-rw-r--r-- | include/clang/Analysis/PathSensitive/SVals.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/clang/Analysis/PathSensitive/SVals.h b/include/clang/Analysis/PathSensitive/SVals.h index 4ba3c7396822e..8b5cf40e29cb3 100644 --- a/include/clang/Analysis/PathSensitive/SVals.h +++ b/include/clang/Analysis/PathSensitive/SVals.h @@ -96,6 +96,8 @@ public: return getRawKind() > UnknownKind; } + bool isConstant() const; + bool isZeroConstant() const; /// hasConjuredSymbol - If this SVal wraps a conjured symbol, return true; @@ -434,7 +436,7 @@ public: return static_cast<MemRegion*>(Data); } - const MemRegion* getBaseRegion() const; + const MemRegion* StripCasts() const; template <typename REGION> const REGION* getRegionAs() const { |