the module is not required to exist, allow it to default, giving this

class a nice default ctor.

llvm-svn: 65731
This commit is contained in:
Chris Lattner 2009-02-28 22:41:33 +00:00
parent 3a5e4d7a2e
commit faaa7ac1f2
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ class TypePrinting {
TypePrinting(const TypePrinting &); // DO NOT IMPLEMENT TypePrinting(const TypePrinting &); // DO NOT IMPLEMENT
void operator=(const TypePrinting&); // DO NOT IMPLEMENT void operator=(const TypePrinting&); // DO NOT IMPLEMENT
public: public:
TypePrinting(const Module *M); TypePrinting(const Module *M = 0);
~TypePrinting(); ~TypePrinting();
void clear(); void clear();