diff options
author | Hubert Tong <hubert.reinterpretcast@gmail.com> | 2017-06-30 22:43:54 +0000 |
---|---|---|
committer | Hubert Tong <hubert.reinterpretcast@gmail.com> | 2017-06-30 22:43:54 +0000 |
commit | 3cede51322c253199f0de5d0619d8b9e947ab90a (patch) | |
tree | 6d12e50cbf042d1e3e8c14a275499d2e89b146da /llvm/lib/DebugInfo/PDB | |
parent | 8844c522664bce78d40927e9f03bfe7c291392fa (diff) | |
download | bcm5719-llvm-3cede51322c253199f0de5d0619d8b9e947ab90a.tar.gz bcm5719-llvm-3cede51322c253199f0de5d0619d8b9e947ab90a.zip |
Fix PR 33189: Clang assertion on template destructor declaration
Summary:
This patch aims to fix the bug reported at
https://bugs.llvm.org/show_bug.cgi?id=33189. Clang hits an assertion
when a template destructor declaration is present. This is caused by
later processing that does not expect to encounter a template when
looking at a destructor. The resolution is to treat the destructor as
being not declared when later processing is interested in the properties
of the destructor of a class.
Reviewers: rcraik, hubert.reinterpretcast, aaron.ballman, rsmith
Reviewed By: rsmith
Subscribers: rsmith, cfe-commits
Differential Revision: https://reviews.llvm.org/D33833
Patch by Kuang He!
llvm-svn: 306905
Diffstat (limited to 'llvm/lib/DebugInfo/PDB')
0 files changed, 0 insertions, 0 deletions