Allow simple nodes to have outgoing edges
[oota-llvm.git] / include / Support / GraphTraits.h
index 00973d59fab23cf68d64009e3c2ea05a3427591b..754e38fa7f5e7ae2ef1056f070ef43fb33a8a270 100644 (file)
@@ -31,6 +31,13 @@ struct GraphTraits {
   //  
 
 
+  // 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