Date: Tue, 07 Mar 2017 21:45:10 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-toolchain@FreeBSD.org Subject: [Bug 215969] c++ compiler regression Message-ID: <bug-215969-29464-17zjbgXGlR@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-215969-29464@https.bugs.freebsd.org/bugzilla/> References: <bug-215969-29464@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D215969 --- Comment #5 from commit-hook@freebsd.org --- A commit references this bug: Author: dim Date: Tue Mar 7 21:44:05 UTC 2017 New revision: 314883 URL: https://svnweb.freebsd.org/changeset/base/314883 Log: Pull in r291403 from upstream clang trunk (by Richard Smith): PR30305: Implement proposed DR resolution to prevent slicing via inherited constructor. The rule we use is that a construction of a class type T from an argument of type U cannot use an inherited constructor if U is the same as T or is derived from T (or if the initialization would first convert it to such a type). This (approximately) matches the rule in use by GCC, and matches the current proposed DR resolution. Pull in r291955 from upstream clang trunk (by Richard Smith): PR31606: Generalize our tentative DR resolution for inheriting copy/move constructors to better match the pre-P0136R1 behavior. Together, these fix an issue with C++ using declarations sometimes enabling illegal implicit casts. Direct commit to stable/11, since head already has clang 4.0.0, which includes this change. Reported by: kami PR: 215969 Changes: stable/11/contrib/llvm/tools/clang/include/clang/Basic/DiagnosticSemaKind= s.td stable/11/contrib/llvm/tools/clang/include/clang/Sema/Overload.h stable/11/contrib/llvm/tools/clang/lib/Sema/SemaOverload.cpp --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-215969-29464-17zjbgXGlR>