https://llvm.org/bugs/show_bug.cgi?id=28666
Bug ID: 28666 Summary: clang chrashes with -Wthread-safety in clang::CFGImplicitDtor::getDestructorDecl Product: clang Version: trunk Hardware: All OS: All Status: NEW Severity: normal Priority: P Component: Static Analyzer Assignee: kreme...@apple.com Reporter: n...@fb.com CC: llvm-bugs@lists.llvm.org Classification: Unclassified The following example causes clang to chrash: struct Holder { virtual ~Holder() throw() {} int i = 0; }; int main() { const auto &value = Holder().i; } Due to incorrect handling of lifetime-extending constructs. -- You are receiving this mail because: You are on the CC list for the bug.
_______________________________________________ llvm-bugs mailing list llvm-bugs@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs