From: Chris Lattner Date: Sat, 28 Feb 2009 22:41:33 +0000 (+0000) Subject: the module is not required to exist, allow it to default, giving this X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=6fa088393ef0402eeedf1d00b2a3240317a995fd;p=oota-llvm.git the module is not required to exist, allow it to default, giving this class a nice default ctor. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65731 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/Assembly/Writer.h b/include/llvm/Assembly/Writer.h index 49ff50f2593..c9f73eed910 100644 --- a/include/llvm/Assembly/Writer.h +++ b/include/llvm/Assembly/Writer.h @@ -33,7 +33,7 @@ class TypePrinting { 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();