[cfe-commits] r49076 - /cfe/trunk/include/clang/Analysis/PathSensitive/ExplodedGraph.h

Ted Kremenek kremenek at apple.com
Tue Apr 1 22:13:10 PDT 2008


Author: kremenek
Date: Wed Apr  2 00:13:10 2008
New Revision: 49076

URL: http://llvm.org/viewvc/llvm-project?rev=49076&view=rev
Log:
Fix copy-paste error.

Modified:
    cfe/trunk/include/clang/Analysis/PathSensitive/ExplodedGraph.h

Modified: cfe/trunk/include/clang/Analysis/PathSensitive/ExplodedGraph.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Analysis/PathSensitive/ExplodedGraph.h?rev=49076&r1=49075&r2=49076&view=diff

==============================================================================
--- cfe/trunk/include/clang/Analysis/PathSensitive/ExplodedGraph.h (original)
+++ cfe/trunk/include/clang/Analysis/PathSensitive/ExplodedGraph.h Wed Apr  2 00:13:10 2008
@@ -123,7 +123,7 @@
   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(); }  





More information about the cfe-commits mailing list