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

Chris Lattner lattner at cs.uiuc.edu
Fri Sep 30 17:17:19 PDT 2005



Changes in directory llvm/include/llvm/Support:

DOTGraphTraits.h updated: 1.13 -> 1.14
---
Log message:

add a method


---
Diffs of the changes:  (+6 -0)

 DOTGraphTraits.h |    6 ++++++
 1 files changed, 6 insertions(+)


Index: llvm/include/llvm/Support/DOTGraphTraits.h
diff -u llvm/include/llvm/Support/DOTGraphTraits.h:1.13 llvm/include/llvm/Support/DOTGraphTraits.h:1.14
--- llvm/include/llvm/Support/DOTGraphTraits.h:1.13	Thu Apr 21 15:44:59 2005
+++ llvm/include/llvm/Support/DOTGraphTraits.h	Fri Sep 30 19:17:07 2005
@@ -51,6 +51,12 @@
   static std::string getNodeLabel(const void *Node, const void *Graph) {
     return "";
   }
+  
+  /// hasNodeAddressLabel - If this method returns true, the address of the node
+  /// is added to the label of the node.
+  static bool hasNodeAddressLabel(const void *Node, const void *Graph) {
+    return false;
+  }
 
   /// If you want to specify custom node attributes, this is the place to do so
   ///






More information about the llvm-commits mailing list