From cce563cf1cdbdcb470a1823f1e917960dde3aad6 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Mon, 27 Sep 2010 16:59:51 +0000 Subject: [PATCH] writeGraph doesn't need its ShortNames argument. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114842 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Support/GraphWriter.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/include/llvm/Support/GraphWriter.h b/include/llvm/Support/GraphWriter.h index 3ff3fa8ffe1..2d29e525fb4 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 W(O, G, ShortNames); // Emit the graph. - W.writeGraph(ShortNames, Title); + W.writeGraph(Title); return O; } -- 2.34.1