diff options
author | Raphael Isemann <teemperor@gmail.com> | 2019-01-22 17:59:45 +0000 |
---|---|---|
committer | Raphael Isemann <teemperor@gmail.com> | 2019-01-22 17:59:45 +0000 |
commit | 1c5d23f1405994da05697b3b66c9f5a32735fdc3 (patch) | |
tree | 647eda30b7be74ffef59603447dceb063f39d869 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
parent | 922b54064312d158f61e0875f92054ac705ebd3e (diff) | |
download | bcm5719-llvm-1c5d23f1405994da05697b3b66c9f5a32735fdc3.tar.gz bcm5719-llvm-1c5d23f1405994da05697b3b66c9f5a32735fdc3.zip |
[ASTImporter] Fix importing OperatorDelete from CXXConstructorDecl
Summary:
Shafik found out that importing a CXXConstructorDecl will create a translation unit that
causes Clang's CodeGen to crash. The reason for that is that we don't copy the OperatorDelete
from the CXXConstructorDecl when importing. This patch fixes it and adds a test case for that.
Reviewers: shafik, martong, a_sidorin, a.sidorin
Reviewed By: martong, a_sidorin
Subscribers: rnkovacs, cfe-commits
Differential Revision: https://reviews.llvm.org/D56651
llvm-svn: 351849
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions