[cfe-commits] r45551 - /cfe/trunk/include/clang/Analysis/PathSensitive/SimulVertex.h

Ted Kremenek kremenek at apple.com
Thu Jan 3 14:09:28 PST 2008


Author: kremenek
Date: Thu Jan  3 16:09:27 2008
New Revision: 45551

URL: http://llvm.org/viewvc/llvm-project?rev=45551&view=rev
Log:
Fixed misuse of pointer within SimulVertex::addPredecessor()

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

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

==============================================================================
--- cfe/trunk/include/clang/Analysis/PathSensitive/SimulVertex.h (original)
+++ cfe/trunk/include/clang/Analysis/PathSensitive/SimulVertex.h Thu Jan  3 16:09:27 2008
@@ -95,7 +95,7 @@
   // Manipulation of successors/predecessors.
   void addPredecessor(SimulVertex* V) {
     Preds.push_back(V);
-    V.Succs.push_back(V);
+    V->Succs.push_back(V);
   }
 };
   





More information about the cfe-commits mailing list