Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 09 Mar 2017 03:11:41 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-toolchain@FreeBSD.org
Subject:   [Bug 215969] c++ compiler regression
Message-ID:  <bug-215969-29464-9O6hiH74uk@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 #8 from commit-hook@freebsd.org ---
A commit references this bug:

Author: brooks
Date: Thu Mar  9 03:10:59 UTC 2017
New revision: 435742
URL: https://svnweb.freebsd.org/changeset/ports/435742

Log:
  Apply the changes from FreeBSD r314883:

  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.

  PR:           215969
  Submitted by: dim

Changes:
  head/devel/llvm39/Makefile
=20
head/devel/llvm39/files/clang-patch-tools_clang_include_clang_Basic_Diagnos=
ticSemaKinds.td
  head/devel/llvm39/files/clang-patch-tools_clang_lib_Sema_SemaOverload.cpp
=20
head/devel/llvm39/files/config-patch-tools_clang_include_clang_Sema_Overloa=
d.h

--=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-9O6hiH74uk>