DOTGraphTraits.h (199989) | DOTGraphTraits.h (208599) |
---|---|
1//===-- llvm/Support/DotGraphTraits.h - Customize .dot output ---*- C++ -*-===// 2// 3// The LLVM Compiler Infrastructure 4// 5// This file is distributed under the University of Illinois Open Source 6// License. See LICENSE.TXT for details. 7// 8//===----------------------------------------------------------------------===// --- 22 unchanged lines hidden (view full) --- 31 bool IsSimple; 32 33protected: 34 bool isSimple() { 35 return IsSimple; 36 } 37 38public: | 1//===-- llvm/Support/DotGraphTraits.h - Customize .dot output ---*- C++ -*-===// 2// 3// The LLVM Compiler Infrastructure 4// 5// This file is distributed under the University of Illinois Open Source 6// License. See LICENSE.TXT for details. 7// 8//===----------------------------------------------------------------------===// --- 22 unchanged lines hidden (view full) --- 31 bool IsSimple; 32 33protected: 34 bool isSimple() { 35 return IsSimple; 36 } 37 38public: |
39 DefaultDOTGraphTraits (bool simple=false) : IsSimple (simple) {} | 39 explicit DefaultDOTGraphTraits(bool simple=false) : IsSimple (simple) {} |
40 41 /// getGraphName - Return the label for the graph as a whole. Printed at the 42 /// top of the graph. 43 /// 44 template<typename GraphType> 45 static std::string getGraphName(const GraphType& Graph) { return ""; } 46 47 /// getGraphProperties - Return any custom properties that should be included --- 6 unchanged lines hidden (view full) --- 54 55 /// renderGraphFromBottomUp - If this function returns true, the graph is 56 /// emitted bottom-up instead of top-down. This requires graphviz 2.0 to work 57 /// though. 58 static bool renderGraphFromBottomUp() { 59 return false; 60 } 61 | 40 41 /// getGraphName - Return the label for the graph as a whole. Printed at the 42 /// top of the graph. 43 /// 44 template<typename GraphType> 45 static std::string getGraphName(const GraphType& Graph) { return ""; } 46 47 /// getGraphProperties - Return any custom properties that should be included --- 6 unchanged lines hidden (view full) --- 54 55 /// renderGraphFromBottomUp - If this function returns true, the graph is 56 /// emitted bottom-up instead of top-down. This requires graphviz 2.0 to work 57 /// though. 58 static bool renderGraphFromBottomUp() { 59 return false; 60 } 61 |
62 /// isNodeHidden - If the function returns true, the given node is not 63 /// displayed in the graph. 64 static bool isNodeHidden(const void *Node) { 65 return false; 66 } 67 |
|
62 /// getNodeLabel - Given a node and a pointer to the top level graph, return 63 /// the label to print in the node. 64 template<typename GraphType> 65 std::string getNodeLabel(const void *Node, const GraphType& Graph) { 66 return ""; 67 } 68 69 /// hasNodeAddressLabel - If this method returns true, the address of the node --- 85 unchanged lines hidden --- | 68 /// getNodeLabel - Given a node and a pointer to the top level graph, return 69 /// the label to print in the node. 70 template<typename GraphType> 71 std::string getNodeLabel(const void *Node, const GraphType& Graph) { 72 return ""; 73 } 74 75 /// hasNodeAddressLabel - If this method returns true, the address of the node --- 85 unchanged lines hidden --- |