[clang] [clang] Fix overload resolution ranking of inherited constructors (PR #132830)
Vlad Serebrennikov via cfe-commits
cfe-commits at lists.llvm.org
Tue Mar 25 07:56:41 PDT 2025
================
@@ -169,6 +169,20 @@ B b;
// since-cxx11-error at -1 {{call to implicitly-deleted default constructor of 'B'}}
// since-cxx11-note@#cwg2273-B {{default constructor of 'B' is implicitly deleted because base class 'A' has a deleted default constructor}}
// since-cxx11-note@#cwg2273-A {{'A' has been explicitly marked deleted here}}
+
----------------
Endilll wrote:
Yes, with the updated test it's evident that Clang 20 and earlier versions don't exhibit the correct behavior.
Don't forget to run `clang/www/make_cxx_dr_status` script after changing the status on line 158.
https://github.com/llvm/llvm-project/pull/132830
More information about the cfe-commits
mailing list