summaryrefslogtreecommitdiffstats
path: root/include/llvm/Support/GraphWriter.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/Support/GraphWriter.h')
-rw-r--r--include/llvm/Support/GraphWriter.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/llvm/Support/GraphWriter.h b/include/llvm/Support/GraphWriter.h
index 3ff3fa8..2d29e52 100644
--- a/include/llvm/Support/GraphWriter.h
+++ b/include/llvm/Support/GraphWriter.h
@@ -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;
}