]> granicus.if.org Git - clang/commitdiff
Fixed misuse of pointer within SimulVertex::addPredecessor()
authorTed Kremenek <kremenek@apple.com>
Thu, 3 Jan 2008 22:09:27 +0000 (22:09 +0000)
committerTed Kremenek <kremenek@apple.com>
Thu, 3 Jan 2008 22:09:27 +0000 (22:09 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@45551 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Analysis/PathSensitive/SimulVertex.h

index 627df5b2069c551b50a27443a7d544ca7051dc62..0fb1db0a4518e95a6438113077c70e8c822733aa 100644 (file)
@@ -95,7 +95,7 @@ public:
   // Manipulation of successors/predecessors.
   void addPredecessor(SimulVertex* V) {
     Preds.push_back(V);
-    V.Succs.push_back(V);
+    V->Succs.push_back(V);
   }
 };