From: Ted Kremenek Date: Tue, 21 Oct 2008 03:31:53 +0000 (+0000) Subject: Change signature for CheckDivideZero. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=dda0468b5aad99a59bd251a1b15c5cfd0243c041;p=clang Change signature for CheckDivideZero. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@57876 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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())