[PATCH] D45898: [SemaCXX] Mark destructor as referenced
Orivej Desh via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sat Dec 8 15:49:49 PST 2018
orivej added a comment.
Herald added a subscriber: jkorous.
The committed test does not crash Clang 7, but the following test does, yet it compiles without any warnings by the current Clang trunk thanks to this fix.
struct A { ~A(); };
struct B : A {};
struct C { C(); B b; };
struct D { C c, d; };
D f() { return {}; }
Repository:
rC Clang
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D45898/new/
https://reviews.llvm.org/D45898
More information about the cfe-commits
mailing list