aboutsummaryrefslogtreecommitdiffstats
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
commitb669d2652c3d200871b3b56276dbe0e547beacbc (patch)
tree6e23c8ea9fe4ed426c40a5f46c626c8b0bcb2888
parent5ce518677afce495c9812f7c5dd0e0c9c03a4e33 (diff)
downloadexternal_llvm-b669d2652c3d200871b3b56276dbe0e547beacbc.zip
external_llvm-b669d2652c3d200871b3b56276dbe0e547beacbc.tar.gz
external_llvm-b669d2652c3d200871b3b56276dbe0e547beacbc.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
-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 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();