diff options
author | Chris Lattner <sabre@nondot.org> | 2009-02-28 22:41:33 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-02-28 22:41:33 +0000 |
commit | 6fa088393ef0402eeedf1d00b2a3240317a995fd (patch) | |
tree | 6e23c8ea9fe4ed426c40a5f46c626c8b0bcb2888 /include/llvm/Assembly | |
parent | a725c45e9edeb6799f47b667d8ef9ca2b4fff35e (diff) | |
download | external_llvm-6fa088393ef0402eeedf1d00b2a3240317a995fd.zip external_llvm-6fa088393ef0402eeedf1d00b2a3240317a995fd.tar.gz external_llvm-6fa088393ef0402eeedf1d00b2a3240317a995fd.tar.bz2 |
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
Diffstat (limited to 'include/llvm/Assembly')
-rw-r--r-- | include/llvm/Assembly/Writer.h | 2 |
1 files changed, 1 insertions, 1 deletions
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(); |