From: Chris Lattner Date: Sun, 13 Oct 2002 17:12:05 +0000 (+0000) Subject: Add dummy entries to document what members can be added X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=b38e4fd8b0228feb1fb8376d2266b7f99a9b0913;p=oota-llvm.git Add dummy entries to document what members can be added git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4141 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/Support/GraphTraits.h b/include/Support/GraphTraits.h index 00973d59fab..754e38fa7f5 100644 --- a/include/Support/GraphTraits.h +++ b/include/Support/GraphTraits.h @@ -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 diff --git a/include/llvm/ADT/GraphTraits.h b/include/llvm/ADT/GraphTraits.h index 00973d59fab..754e38fa7f5 100644 --- a/include/llvm/ADT/GraphTraits.h +++ b/include/llvm/ADT/GraphTraits.h @@ -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