summaryrefslogtreecommitdiff
path: root/include/llvm/Assembly
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-02-28 22:41:33 +0000
committerChris Lattner <sabre@nondot.org>2009-02-28 22:41:33 +0000
commit6fa088393ef0402eeedf1d00b2a3240317a995fd (patch)
tree6e23c8ea9fe4ed426c40a5f46c626c8b0bcb2888 /include/llvm/Assembly
parenta725c45e9edeb6799f47b667d8ef9ca2b4fff35e (diff)
downloadllvm-6fa088393ef0402eeedf1d00b2a3240317a995fd.tar.gz
llvm-6fa088393ef0402eeedf1d00b2a3240317a995fd.tar.bz2
llvm-6fa088393ef0402eeedf1d00b2a3240317a995fd.tar.xz
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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Assembly/Writer.h b/include/llvm/Assembly/Writer.h
index 49ff50f259..c9f73eed91 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();