From f087c0c1c6f673334831c6a5ce46cb6d48be1de5 Mon Sep 17 00:00:00 2001 From: Anders Carlsson Date: Fri, 17 Aug 2007 22:00:32 +0000 Subject: Add preliminary support for converting struct types. llvm-svn: 41145 --- clang/CodeGen/CodeGenModule.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'clang/CodeGen/CodeGenModule.cpp') diff --git a/clang/CodeGen/CodeGenModule.cpp b/clang/CodeGen/CodeGenModule.cpp index a1a498b0828..44cb91dd1de 100644 --- a/clang/CodeGen/CodeGenModule.cpp +++ b/clang/CodeGen/CodeGenModule.cpp @@ -26,7 +26,7 @@ using namespace CodeGen; CodeGenModule::CodeGenModule(ASTContext &C, llvm::Module &M) - : Context(C), TheModule(M), Types(C) {} + : Context(C), TheModule(M), Types(C, M) {} llvm::Constant *CodeGenModule::GetAddrOfGlobalDecl(const Decl *D) { // See if it is already in the map. -- cgit v1.2.3