[llvm-commits] [llvm] r65731 - /llvm/trunk/include/llvm/Assembly/Writer.h

Chris Lattner sabre at nondot.org
Sat Feb 28 14:41:33 PST 2009


Author: lattner
Date: Sat Feb 28 16:41:33 2009
New Revision: 65731

URL: http://llvm.org/viewvc/llvm-project?rev=65731&view=rev
Log:
the module is not required to exist, allow it to default, giving this
class a nice default ctor.

Modified:
    llvm/trunk/include/llvm/Assembly/Writer.h

Modified: llvm/trunk/include/llvm/Assembly/Writer.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Assembly/Writer.h?rev=65731&r1=65730&r2=65731&view=diff

==============================================================================
--- llvm/trunk/include/llvm/Assembly/Writer.h (original)
+++ llvm/trunk/include/llvm/Assembly/Writer.h Sat Feb 28 16:41:33 2009
@@ -33,7 +33,7 @@
   TypePrinting(const TypePrinting &);   // DO NOT IMPLEMENT
   void operator=(const TypePrinting&);  // DO NOT IMPLEMENT
 public:
-  TypePrinting(const Module *M);
+  TypePrinting(const Module *M = 0);
   ~TypePrinting();
   
   void clear();





More information about the llvm-commits mailing list