]> granicus.if.org Git - clang/commitdiff
Change signature for CheckDivideZero.
authorTed Kremenek <kremenek@apple.com>
Tue, 21 Oct 2008 03:31:53 +0000 (03:31 +0000)
committerTed Kremenek <kremenek@apple.com>
Tue, 21 Oct 2008 03:31:53 +0000 (03:31 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@57876 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Analysis/PathSensitive/GRExprEngine.h

index 8af35932101550c1b6e247704b99171edd45fdf4..4483eec6e6308a26d7b9787168022001416c2a73 100644 (file)
@@ -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())