From ce393a609ba1df701cfba9e96749275a16e22ade Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Mon, 10 Jan 2005 23:05:07 +0000 Subject: [PATCH] Add a helper method git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19439 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Support/GraphWriter.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/include/llvm/Support/GraphWriter.h b/include/llvm/Support/GraphWriter.h index feb9900d3b8..02f3952422c 100644 --- a/include/llvm/Support/GraphWriter.h +++ b/include/llvm/Support/GraphWriter.h @@ -96,7 +96,11 @@ public: I != E; ++I) writeNode(&*I); } - + + void writeNode(NodeType *const *Node) { + writeNode(*Node); + } + void writeNode(NodeType *Node) { std::string NodeAttributes = DOTTraits::getNodeAttributes(Node); -- 2.34.1