summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorTimur Iskhodzhanov <timurrrr@google.com>2013-08-04 17:30:04 +0000
committerTimur Iskhodzhanov <timurrrr@google.com>2013-08-04 17:30:04 +0000
commit40f2fa9a45a6f16187a706401512a56e403868bf (patch)
tree9f7f37d66e1ecbe3261f8ebb3a34613fe2591a90 /clang/lib/CodeGen/CodeGenModule.cpp
parentd989ef43734ae73f240174ed945936abeab59fde (diff)
downloadbcm5719-llvm-40f2fa9a45a6f16187a706401512a56e403868bf.tar.gz
bcm5719-llvm-40f2fa9a45a6f16187a706401512a56e403868bf.zip
Emit the constructor for abstract classes when using -cxx-abi microsoft, fixes PR16735
llvm-svn: 187709
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
-rw-r--r--clang/lib/CodeGen/CodeGenModule.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CodeGenModule.cpp b/clang/lib/CodeGen/CodeGenModule.cpp
index fd884db6ca2..21edc7e6513 100644
--- a/clang/lib/CodeGen/CodeGenModule.cpp
+++ b/clang/lib/CodeGen/CodeGenModule.cpp
@@ -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())
OpenPOWER on IntegriCloud