diff options
author | Corentin Jabot <corentinjabot@gmail.com> | 2025-07-15 10:18:25 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-07-15 09:18:25 +0200 |
commit | acf07dc77cba07d67c85e120c2eb8094438572e9 (patch) | |
tree | 2b5e83e060a0f4a7f8f5734cf617beb1b87c7499 /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp | |
parent | dae72bc659d79f59e3b26a948158e3f37b33471b (diff) | |
download | llvm-acf07dc77cba07d67c85e120c2eb8094438572e9.zip llvm-acf07dc77cba07d67c85e120c2eb8094438572e9.tar.gz llvm-acf07dc77cba07d67c85e120c2eb8094438572e9.tar.bz2 |
[Clang] Do not treat Foo -> const Foo conversion sequences as perfect (#148613)
For implicit object arguments.
This fixes a regression introduced by the "perfect match" overload
resolution mechanism introduced in 8c5a307.
Note that GCC allows the ambiguity between a const and non-const
candidate to be resolved. But this patch focuses on restoring the Clang
20 behavior, and to fix the cases which we did resolve incorrectly.
Fixes #147374
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions