diff options
author | Chris Lattner <sabre@nondot.org> | 2002-10-13 17:12:05 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-10-13 17:12:05 +0000 |
commit | b38e4fd8b0228feb1fb8376d2266b7f99a9b0913 (patch) | |
tree | de215183d25cc12f0b983497dce755eb2250c546 /include/Support/GraphTraits.h | |
parent | f289911a6cc0b8ed47e1eb2e3609a4eda0f54f97 (diff) |
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
Diffstat (limited to 'include/Support/GraphTraits.h')
-rw-r--r-- | include/Support/GraphTraits.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/Support/GraphTraits.h b/include/Support/GraphTraits.h index 00973d59fa..754e38fa7f 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 |