Materialize the module before releasing it.
[oota-llvm.git] / include / Support / GraphTraits.h
index 00973d59fab23cf68d64009e3c2ea05a3427591b..15c285da17034cacd3ebefe990a21e14aa4a5db2 100644 (file)
@@ -8,8 +8,8 @@
 //
 //===----------------------------------------------------------------------===//
 
-#ifndef LLVM_SUPPORT_GRAPH_TRAITS_H
-#define LLVM_SUPPORT_GRAPH_TRAITS_H
+#ifndef SUPPORT_GRAPHTRAITS_H
+#define SUPPORT_GRAPHTRAITS_H
 
 // GraphTraits - This class should be specialized by different graph types...
 // which is why the default version is empty.
@@ -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