diff options
author | Corentin Jabot <corentinjabot@gmail.com> | 2025-07-17 12:32:49 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-07-17 11:32:49 +0200 |
commit | 28e1e7e1b4b059a2e42f68061475cddb4ad0a6a3 (patch) | |
tree | 6cc6c44ea671b510d3847ce21cfe65862e932d51 /clang/lib/Frontend/TestModuleFileExtension.cpp | |
parent | a78a0f8d204393a0cce367b63395bad90311c1b8 (diff) | |
download | llvm-28e1e7e1b4b059a2e42f68061475cddb4ad0a6a3.zip llvm-28e1e7e1b4b059a2e42f68061475cddb4ad0a6a3.tar.gz llvm-28e1e7e1b4b059a2e42f68061475cddb4ad0a6a3.tar.bz2 |
Revert "[Clang] Do not treat Foo -> const Foo conversion sequences as perfect" (#149272)
Reverts llvm/llvm-project#148613
Considering object argument conversion qualifications perfect leads to
situations where we prefer a non-template const qualified function over
a non-qualified template function, which is very wrong indeed.
I explored solutions to work around that, but instead, we might want to
go the GCC road and prefer the friend overload in the #147374 example,
as this seems a lot more consistent and reliable
Diffstat (limited to 'clang/lib/Frontend/TestModuleFileExtension.cpp')
0 files changed, 0 insertions, 0 deletions