diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2024-03-20 22:39:06 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2024-03-20 22:39:11 +0000 |
commit | bcd401b5a39c6186bb1fe450286299f2a481244c (patch) | |
tree | 0af90a394e331e739d40a0ad5f4c4ed0b47bf022 /usr.bin | |
parent | 9978c6289d621ac9edc95acb4e0f527a62a49b03 (diff) | |
download | src-bcd401b5a39c6186bb1fe450286299f2a481244c.tar.gz src-bcd401b5a39c6186bb1fe450286299f2a481244c.zip |
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
Diffstat (limited to 'usr.bin')
0 files changed, 0 insertions, 0 deletions