[llvm-commits] [llvm] r114842 - /llvm/trunk/include/llvm/Support/GraphWriter.h

Dan Gohman gohman at apple.com
Mon Sep 27 09:59:52 PDT 2010


Author: djg
Date: Mon Sep 27 11:59:51 2010
New Revision: 114842

URL: http://llvm.org/viewvc/llvm-project?rev=114842&view=rev
Log:
writeGraph doesn't need its ShortNames argument.

Modified:
    llvm/trunk/include/llvm/Support/GraphWriter.h

Modified: llvm/trunk/include/llvm/Support/GraphWriter.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Support/GraphWriter.h?rev=114842&r1=114841&r2=114842&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Support/GraphWriter.h (original)
+++ llvm/trunk/include/llvm/Support/GraphWriter.h Mon Sep 27 11:59:51 2010
@@ -92,8 +92,7 @@
     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 @@
   GraphWriter<GraphType> W(O, G, ShortNames);
 
   // Emit the graph.
-  W.writeGraph(ShortNames, Title);
+  W.writeGraph(Title);
 
   return O;
 }





More information about the llvm-commits mailing list