From b38e4fd8b0228feb1fb8376d2266b7f99a9b0913 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sun, 13 Oct 2002 17:12:05 +0000 Subject: [PATCH] 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 --- include/Support/GraphTraits.h | 7 +++++++ include/llvm/ADT/GraphTraits.h | 7 +++++++ 2 files changed, 14 insertions(+) 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 -- 2.34.1