From 6fa088393ef0402eeedf1d00b2a3240317a995fd Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sat, 28 Feb 2009 22:41:33 +0000 Subject: 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 --- include/llvm/Assembly/Writer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/llvm/Assembly') diff --git a/include/llvm/Assembly/Writer.h b/include/llvm/Assembly/Writer.h index 49ff50f..c9f73ee 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(); -- cgit v1.1