aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2008-10-21 03:31:53 +0000
committerTed Kremenek <kremenek@apple.com>2008-10-21 03:31:53 +0000
commitdda0468b5aad99a59bd251a1b15c5cfd0243c041 (patch)
treea36179ba3ce6451f80646ba3f14c3e202d2ff54f /include
parent8588896b4779a617e5d257423ef6178431c8bda3 (diff)
Change signature for CheckDivideZero.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@57876 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/clang/Analysis/PathSensitive/GRExprEngine.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/clang/Analysis/PathSensitive/GRExprEngine.h b/include/clang/Analysis/PathSensitive/GRExprEngine.h
index 8af3593210..4483eec6e6 100644
--- a/include/clang/Analysis/PathSensitive/GRExprEngine.h
+++ b/include/clang/Analysis/PathSensitive/GRExprEngine.h
@@ -538,8 +538,8 @@ protected:
void VisitUnaryOperator(UnaryOperator* B, NodeTy* Pred, NodeSet& Dst,
bool asLValue);
- bool CheckDivideZero(Expr* Ex, const GRState* St, NodeTy* Pred,
- SVal Denom);
+ const GRState* CheckDivideZero(Expr* Ex, const GRState* St, NodeTy* Pred,
+ SVal Denom);
SVal EvalCast(SVal X, QualType CastT) {
if (X.isUnknownOrUndef())