[llvm-commits] CVS: llvm/include/Support/GraphTraits.h

Chris Lattner lattner at cs.uiuc.edu
Sun Oct 13 12:13:01 PDT 2002


Changes in directory llvm/include/Support:

GraphTraits.h updated: 1.1 -> 1.2

---
Log message:

Add dummy entries to document what members can be added


---
Diffs of the changes:

Index: llvm/include/Support/GraphTraits.h
diff -u llvm/include/Support/GraphTraits.h:1.1 llvm/include/Support/GraphTraits.h:1.2
--- llvm/include/Support/GraphTraits.h:1.1	Mon Nov 26 18:02:44 2001
+++ llvm/include/Support/GraphTraits.h	Sun Oct 13 12:12:05 2002
@@ -31,6 +31,13 @@
   //  
 
 
+  // typedef  ...iterator nodes_iterator;
+  // static nodes_iterator nodes_begin(GraphType *G)
+  // static nodes_iterator nodes_end  (GraphType *G)
+  //
+  //    nodes_iterator/begin/end - Allow iteration over all nodes in the graph
+
+
   // If anyone tries to use this class without having an appropriate
   // specialization, make an error.  If you get this error, it's because you
   // need to include the appropriate specialization of GraphTraits<> for your





More information about the llvm-commits mailing list