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

Details

Provenance
dimAuthored on Mar 20 2024, 10:39 PM
Parents
rG9978c6289d62: cxgbe tom: Handle a race condition when enabling TLS offload
Branches
Unknown
Tags
Unknown