diff options
author | Ted Kremenek <kremenek@apple.com> | 2010-12-24 08:39:33 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2010-12-24 08:39:33 +0000 |
commit | a6b0b96e5376cd9cf182a3e240e0537feed43cde (patch) | |
tree | 99f1677f9c39c2c85dcec745008525cdac11ad62 /include/clang/StaticAnalyzer/PathSensitive/Store.h | |
parent | 3252134192221e65c937124cc79b97d3b04389ae (diff) |
Add basic support for pointer arithmetic in
SimpleSValBuilder. This clears up some
false positives emitted by ArrayBoundCheckerV2
due to the lack of support for pointer arithmetic.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@122546 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/StaticAnalyzer/PathSensitive/Store.h')
-rw-r--r-- | include/clang/StaticAnalyzer/PathSensitive/Store.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/include/clang/StaticAnalyzer/PathSensitive/Store.h b/include/clang/StaticAnalyzer/PathSensitive/Store.h index c48f129feb..7054d64a38 100644 --- a/include/clang/StaticAnalyzer/PathSensitive/Store.h +++ b/include/clang/StaticAnalyzer/PathSensitive/Store.h @@ -153,13 +153,6 @@ public: /// casted and 'CastToTy' the result type of the cast. const MemRegion *CastRegion(const MemRegion *region, QualType CastToTy); - - /// evalBinOp - Perform pointer arithmetic. - virtual SVal evalBinOp(BinaryOperator::Opcode Op, - Loc lhs, NonLoc rhs, QualType resultTy) { - return UnknownVal(); - } - virtual Store RemoveDeadBindings(Store store, const StackFrameContext *LCtx, SymbolReaper& SymReaper, llvm::SmallVectorImpl<const MemRegion*>& RegionRoots) = 0; |