diff options
author | Jim Laskey <jlaskey@mac.com> | 2006-10-02 12:26:53 +0000 |
---|---|---|
committer | Jim Laskey <jlaskey@mac.com> | 2006-10-02 12:26:53 +0000 |
commit | 1368c265da62267d73a788adb4428bb4fbc8af8b (patch) | |
tree | 9afb3a8af3327ec5b267a09836df2474338c17f9 /llvm/lib/Analysis/DataStructure | |
parent | 134ff353f9ea80924fe4e9bb79f28dac07295eb9 (diff) | |
download | bcm5719-llvm-1368c265da62267d73a788adb4428bb4fbc8af8b.tar.gz bcm5719-llvm-1368c265da62267d73a788adb4428bb4fbc8af8b.zip |
Add ability to annotate (color) nodes in a viewGraph.
llvm-svn: 30686
Diffstat (limited to 'llvm/lib/Analysis/DataStructure')
-rw-r--r-- | llvm/lib/Analysis/DataStructure/Printer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Analysis/DataStructure/Printer.cpp b/llvm/lib/Analysis/DataStructure/Printer.cpp index 7cb79247e4b..ce999615811 100644 --- a/llvm/lib/Analysis/DataStructure/Printer.cpp +++ b/llvm/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"; } |