[all-commits] [llvm/llvm-project] bbb8a0: [Clang] Fix ResolveConstructorOverload to not sele...
Shafik Yaghmour via All-commits
all-commits at lists.llvm.org
Fri Dec 8 09:40:37 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: bbb8a0df7367068e1cf2fc54edd376beb976b430
https://github.com/llvm/llvm-project/commit/bbb8a0df7367068e1cf2fc54edd376beb976b430
Author: Shafik Yaghmour <shafik.yaghmour at intel.com>
Date: 2023-12-08 (Fri, 08 Dec 2023)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/lib/Sema/SemaInit.cpp
M clang/lib/Sema/SemaTemplateInstantiate.cpp
M clang/test/SemaCXX/cxx1z-copy-omission.cpp
Log Message:
-----------
[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
More information about the All-commits
mailing list