diff options
author | Tobias Grosser <grosser@fim.uni-passau.de> | 2011-02-27 04:11:03 +0000 |
---|---|---|
committer | Tobias Grosser <grosser@fim.uni-passau.de> | 2011-02-27 04:11:03 +0000 |
commit | a91f86c49a63f7a37c662c3a9553055bff33a84b (patch) | |
tree | edf10db89b2d9440fa38416db419256b72243bbf /include/llvm/Support/DOTGraphTraits.h | |
parent | 0aa00f91100fb031cd9cde2562cdc029f4fb26d5 (diff) |
Pass the graph to the DOTGraphTraits.getEdgeAttributes().
This follows the interface of getNodeAttributes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@126562 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Support/DOTGraphTraits.h')
-rw-r--r-- | include/llvm/Support/DOTGraphTraits.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/llvm/Support/DOTGraphTraits.h b/include/llvm/Support/DOTGraphTraits.h index 796c74a21c..3cb8164c3c 100644 --- a/include/llvm/Support/DOTGraphTraits.h +++ b/include/llvm/Support/DOTGraphTraits.h @@ -89,8 +89,9 @@ public: /// If you want to override the dot attributes printed for a particular edge, /// override this method. - template<typename EdgeIter> - static std::string getEdgeAttributes(const void *Node, EdgeIter EI) { + template<typename EdgeIter, typename GraphType> + static std::string getEdgeAttributes(const void *Node, EdgeIter EI, + const GraphType& Graph) { return ""; } |