diff options
Diffstat (limited to 'clang/lib/Sema')
-rw-r--r-- | clang/lib/Sema/SemaOverload.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/lib/Sema/SemaOverload.cpp b/clang/lib/Sema/SemaOverload.cpp index 74283a067cf..256c2343e51 100644 --- a/clang/lib/Sema/SemaOverload.cpp +++ b/clang/lib/Sema/SemaOverload.cpp @@ -9003,8 +9003,9 @@ Sema::AddArgumentDependentLookupCandidates(DeclarationName Name, AddOverloadCandidate(FD, FoundDecl, Args, CandidateSet, /*SupressUserConversions=*/false, PartialOverloading, + /*AllowExplicit*/ true, /*AllowExplicitConversions*/ false, - /*AllowExplicit*/ true, ADLCallKind::UsesADL); + ADLCallKind::UsesADL); } else { AddTemplateOverloadCandidate( cast<FunctionTemplateDecl>(*I), FoundDecl, ExplicitTemplateArgs, Args, |