forked from OSchip/llvm-project
writeGraph doesn't need its ShortNames argument.
llvm-svn: 114842
This commit is contained in:
parent
16ef49686c
commit
cf935acf53
|
|
@ -92,8 +92,7 @@ public:
|
||||||
DTraits = DOTTraits(SN);
|
DTraits = DOTTraits(SN);
|
||||||
}
|
}
|
||||||
|
|
||||||
void writeGraph(bool ShortNames = false,
|
void writeGraph(const std::string &Title = "") {
|
||||||
const std::string &Title = "") {
|
|
||||||
// Output the header for the graph...
|
// Output the header for the graph...
|
||||||
writeHeader(Title);
|
writeHeader(Title);
|
||||||
|
|
||||||
|
|
@ -302,7 +301,7 @@ raw_ostream &WriteGraph(raw_ostream &O, const GraphType &G,
|
||||||
GraphWriter<GraphType> W(O, G, ShortNames);
|
GraphWriter<GraphType> W(O, G, ShortNames);
|
||||||
|
|
||||||
// Emit the graph.
|
// Emit the graph.
|
||||||
W.writeGraph(ShortNames, Title);
|
W.writeGraph(Title);
|
||||||
|
|
||||||
return O;
|
return O;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue