writeGraph doesn't need its ShortNames argument.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114842 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Dan Gohman 2010-09-27 16:59:51 +00:00
parent 51138b3070
commit cce563cf1c

View File

@ -92,8 +92,7 @@ public:
DTraits = DOTTraits(SN);
}
void writeGraph(bool ShortNames = false,
const std::string &Title = "") {
void writeGraph(const std::string &Title = "") {
// Output the header for the graph...
writeHeader(Title);
@ -302,7 +301,7 @@ raw_ostream &WriteGraph(raw_ostream &O, const GraphType &G,
GraphWriter<GraphType> W(O, G, ShortNames);
// Emit the graph.
W.writeGraph(ShortNames, Title);
W.writeGraph(Title);
return O;
}