From: Dan Gohman Date: Mon, 27 Sep 2010 16:59:51 +0000 (+0000) Subject: writeGraph doesn't need its ShortNames argument. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=cce563cf1cdbdcb470a1823f1e917960dde3aad6;p=oota-llvm.git writeGraph doesn't need its ShortNames argument. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114842 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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; }