Emit the constructor for abstract classes when using -cxx-abi microsoft, fixes PR16735

llvm-svn: 187709
This commit is contained in:
Timur Iskhodzhanov
2013-08-04 17:30:04 +00:00
parent d989ef4373
commit 40f2fa9a45
7 changed files with 38 additions and 19 deletions

View File

@@ -2878,7 +2878,7 @@ void CodeGenModule::EmitTopLevelDecl(Decl *D) {
cast<FunctionDecl>(D)->isLateTemplateParsed())
return;
EmitCXXConstructors(cast<CXXConstructorDecl>(D));
getCXXABI().EmitCXXConstructors(cast<CXXConstructorDecl>(D));
break;
case Decl::CXXDestructor:
if (cast<FunctionDecl>(D)->isLateTemplateParsed())