projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
There is no EndPtr anymore - reinterpret the original comment in terms
[oota-llvm.git]
/
include
/
llvm
/
Support
/
DOTGraphTraits.h
diff --git
a/include/llvm/Support/DOTGraphTraits.h
b/include/llvm/Support/DOTGraphTraits.h
index 0e8f59bdeb9d4fbf9d4486595a43b70919b5ab69..796c74a21ca86d5168cc21e98d469d4e237b433c 100644
(file)
--- a/
include/llvm/Support/DOTGraphTraits.h
+++ b/
include/llvm/Support/DOTGraphTraits.h
@@
-36,7
+36,7
@@
protected:
}
public:
}
public:
-
DefaultDOTGraphTraits
(bool simple=false) : IsSimple (simple) {}
+
explicit DefaultDOTGraphTraits
(bool simple=false) : IsSimple (simple) {}
/// getGraphName - Return the label for the graph as a whole. Printed at the
/// top of the graph.
/// getGraphName - Return the label for the graph as a whole. Printed at the
/// top of the graph.
@@
-59,11
+59,16
@@
public:
return false;
}
return false;
}
+ /// isNodeHidden - If the function returns true, the given node is not
+ /// displayed in the graph.
+ static bool isNodeHidden(const void *Node) {
+ return false;
+ }
+
/// getNodeLabel - Given a node and a pointer to the top level graph, return
/// the label to print in the node.
template<typename GraphType>
/// getNodeLabel - Given a node and a pointer to the top level graph, return
/// the label to print in the node.
template<typename GraphType>
- static std::string getNodeLabel(const void *Node,
- const GraphType& Graph, bool ShortNames) {
+ std::string getNodeLabel(const void *Node, const GraphType& Graph) {
return "";
}
return "";
}