aboutsummaryrefslogtreecommitdiff
path: root/lib/Analysis/DataStructure
diff options
context:
space:
mode:
authorJim Laskey <jlaskey@mac.com>2006-10-02 12:26:53 +0000
committerJim Laskey <jlaskey@mac.com>2006-10-02 12:26:53 +0000
commitec20402c90b605afeedbcf0e3aabe6f8054f23dd (patch)
treea086dcfb664165c0a3ec91d1ed469e56c7f7fcf6 /lib/Analysis/DataStructure
parent39d78d623a46479822fe8d90c607487cc9ac77e1 (diff)
Add ability to annotate (color) nodes in a viewGraph.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30686 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/DataStructure')
-rw-r--r--lib/Analysis/DataStructure/Printer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Analysis/DataStructure/Printer.cpp b/lib/Analysis/DataStructure/Printer.cpp
index 7cb79247e4..ce99961581 100644
--- a/lib/Analysis/DataStructure/Printer.cpp
+++ b/lib/Analysis/DataStructure/Printer.cpp
@@ -112,7 +112,7 @@ struct DOTGraphTraits<const DSGraph*> : public DefaultDOTGraphTraits {
return getCaption(Node, Graph);
}
- static std::string getNodeAttributes(const DSNode *N) {
+ static std::string getNodeAttributes(const DSNode *N, const DSGraph *Graph) {
return "shape=Mrecord";
}