From: Ted Kremenek Date: Wed, 2 Apr 2008 05:13:10 +0000 (+0000) Subject: Fix copy-paste error. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0e8a3c743b9b3e3039e329a1736122d3b5b5fed9;p=clang Fix copy-paste error. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@49076 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/Analysis/PathSensitive/ExplodedGraph.h b/include/clang/Analysis/PathSensitive/ExplodedGraph.h index 656981f620..7b224454e5 100644 --- a/include/clang/Analysis/PathSensitive/ExplodedGraph.h +++ b/include/clang/Analysis/PathSensitive/ExplodedGraph.h @@ -123,7 +123,7 @@ public: unsigned succ_size() const { return Succs.size(); } unsigned pred_size() const { return Preds.size(); } bool succ_empty() const { return Succs.empty(); } - bool pred_empty() const { return Preds.size(); } + bool pred_empty() const { return Preds.empty(); } bool isSink() const { return Succs.getFlag(); } void markAsSink() { Succs.setFlag(); }