[llvm-commits] CVS: llvm/include/llvm/Support/GraphWriter.h

Chris Lattner lattner at cs.uiuc.edu
Mon Jan 10 15:05:22 PST 2005



Changes in directory llvm/include/llvm/Support:

GraphWriter.h updated: 1.20 -> 1.21
---
Log message:

Add a helper method


---
Diffs of the changes:  (+5 -1)

Index: llvm/include/llvm/Support/GraphWriter.h
diff -u llvm/include/llvm/Support/GraphWriter.h:1.20 llvm/include/llvm/Support/GraphWriter.h:1.21
--- llvm/include/llvm/Support/GraphWriter.h:1.20	Wed Sep  1 17:55:35 2004
+++ llvm/include/llvm/Support/GraphWriter.h	Mon Jan 10 17:05:07 2005
@@ -96,7 +96,11 @@
          I != E; ++I)
       writeNode(&*I);
   }
-
+ 
+  void writeNode(NodeType *const *Node) {
+    writeNode(*Node);
+  }
+ 
   void writeNode(NodeType *Node) {
     std::string NodeAttributes = DOTTraits::getNodeAttributes(Node);
       






More information about the llvm-commits mailing list