https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=215969

--- Comment #8 from commit-h...@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
 
head/devel/llvm39/files/clang-patch-tools_clang_include_clang_Basic_DiagnosticSemaKinds.td
  head/devel/llvm39/files/clang-patch-tools_clang_lib_Sema_SemaOverload.cpp
 
head/devel/llvm39/files/config-patch-tools_clang_include_clang_Sema_Overload.h

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
freebsd-toolchain@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-toolchain
To unsubscribe, send any mail to "freebsd-toolchain-unsubscr...@freebsd.org"

Reply via email to