aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/Support/GraphWriter.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-01-10 23:05:07 +0000
committerChris Lattner <sabre@nondot.org>2005-01-10 23:05:07 +0000
commitce393a609ba1df701cfba9e96749275a16e22ade (patch)
treedaaf0119c2aac35fb358993798b2863ae49cfbe9 /include/llvm/Support/GraphWriter.h
parent24aad1b0c1e6fd6daba1f5e2167a119b428b1cae (diff)
Add a helper method
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19439 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Support/GraphWriter.h')
-rw-r--r--include/llvm/Support/GraphWriter.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/llvm/Support/GraphWriter.h b/include/llvm/Support/GraphWriter.h
index feb9900d3b..02f3952422 100644
--- a/include/llvm/Support/GraphWriter.h
+++ b/include/llvm/Support/GraphWriter.h
@@ -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);