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
This commit is contained in:
Chris Lattner 2009-02-28 22:41:33 +00:00
parent a725c45e9e
commit 6fa088393e

View File

@ -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();