Add a helper method
authorChris Lattner <sabre@nondot.org>
Mon, 10 Jan 2005 23:05:07 +0000 (23:05 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 10 Jan 2005 23:05:07 +0000 (23:05 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19439 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Support/GraphWriter.h

index feb9900d3b8ff0536168be883f1b4c4713b27d78..02f3952422c88d42ec0317cba5d645d01c7a7be0 100644 (file)
@@ -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);