[llvm-commits] [llvm] r44868 - /llvm/trunk/include/llvm/ADT/GraphTraits.h

Wojciech Matyjewicz wmatyjewicz at fastmail.fm
Tue Dec 11 09:46:29 PST 2007


Author: wmat
Date: Tue Dec 11 11:46:25 2007
New Revision: 44868

URL: http://llvm.org/viewvc/llvm-project?rev=44868&view=rev
Log:
Use correct member access operator.
(my test commit as well)

Modified:
    llvm/trunk/include/llvm/ADT/GraphTraits.h

Modified: llvm/trunk/include/llvm/ADT/GraphTraits.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/ADT/GraphTraits.h?rev=44868&r1=44867&r2=44868&view=diff

==============================================================================
--- llvm/trunk/include/llvm/ADT/GraphTraits.h (original)
+++ llvm/trunk/include/llvm/ADT/GraphTraits.h Tue Dec 11 11:46:25 2007
@@ -86,7 +86,7 @@
   typedef typename GraphTraits<T>::ChildIteratorType ChildIteratorType;
   
   static NodeType *getEntryNode(Inverse<Inverse<T> > *G) {
-    return GraphTraits<T>::getEntryNode(G.Graph.Graph);
+    return GraphTraits<T>::getEntryNode(G->Graph.Graph);
   }
   
   static ChildIteratorType child_begin(NodeType* N) {





More information about the llvm-commits mailing list