HomeFreeBSD

Merge commit bbb8a0df7367 from llvm-project (by Shafik Yaghmour):

Description

Merge commit bbb8a0df7367 from llvm-project (by Shafik Yaghmour):

[Clang] Fix ResolveConstructorOverload to not select a conversion function if we are going use copy elision

ResolveConstructorOverload needs to check properly if we are going to use copy
elision we can't use a conversion function.

This fixes:

https://github.com/llvm/llvm-project/issues/39319
https://github.com/llvm/llvm-project/issues/60182
https://github.com/llvm/llvm-project/issues/62157
https://github.com/llvm/llvm-project/issues/64885
https://github.com/llvm/llvm-project/issues/65568

Differential Revision: https://reviews.llvm.org/D148474

This should fix 'Assertion failed: (isa<To>(Val) && "cast<Ty>() argument
of incompatible type!")' errors when building devel/boost-libs,
specifically libs/url/src/segments_view.cpp.

Bump __FreeBSD_version so this fix can easily be detected from
devel/boost-all/compiled.mk.

PR: 273335
(cherry picked from commit bcd401b5a39c6186bb1fe450286299f2a481244c)

Details

Provenance
dimAuthored on Mar 20 2024, 10:39 PM
Parents
rG0459337491cd: makefs: warn that ffs sectorsize other than 512 may not work
Branches
Unknown
Tags
Unknown