[clang] [Clang] Static and explicit object member functions with the same parameter-type-lists (PR #93430)
Erich Keane via cfe-commits
cfe-commits at lists.llvm.org
Tue Jun 4 06:22:48 PDT 2024
================
@@ -7807,6 +7833,7 @@ void Sema::AddTemplateOverloadCandidate(
Candidate.IgnoreObjectArgument =
isa<CXXMethodDecl>(Candidate.Function) &&
!isa<CXXConstructorDecl>(Candidate.Function);
+ Candidate.TookAddressOfOverload = false;
----------------
erichkeane wrote:
Feel like Candidate should have a deleted default ctor/constructor pair too :D For exactly this reason.
https://github.com/llvm/llvm-project/pull/93430
More information about the cfe-commits
mailing list