summaryrefslogtreecommitdiff
path: root/include/llvm/Support/GraphWriter.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-10-16 01:44:59 +0000
committerChris Lattner <sabre@nondot.org>2002-10-16 01:44:59 +0000
commit834a9d12f3575f0030f39117546f01fc7e0ff300 (patch)
treec6e182786ff4794121e8927b0b517643e97e3e99 /include/llvm/Support/GraphWriter.h
parentff5feedf283b5321a0a16b2ee02b58af41018222 (diff)
downloadllvm-834a9d12f3575f0030f39117546f01fc7e0ff300.tar.gz
llvm-834a9d12f3575f0030f39117546f01fc7e0ff300.tar.bz2
llvm-834a9d12f3575f0030f39117546f01fc7e0ff300.tar.xz
* Add new DOTGraphTraits::addCustomGraphFeatures method
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4197 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Support/GraphWriter.h')
-rw-r--r--include/llvm/Support/GraphWriter.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/llvm/Support/GraphWriter.h b/include/llvm/Support/GraphWriter.h
index 0a7576cd7c..7783b46808 100644
--- a/include/llvm/Support/GraphWriter.h
+++ b/include/llvm/Support/GraphWriter.h
@@ -72,7 +72,11 @@ public:
O << DOTTraits::getGraphProperties(G);
O << "\n";
+ // Emit all of the nodes in the graph...
writeNodes();
+
+ // Output any customizations on the graph
+ DOTTraits::addCustomGraphFeatures(G, *this);
}
~GraphWriter() {