diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2019-05-16 02:06:16 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2019-05-16 02:06:16 +0000 |
commit | e8151ca3d9c9ec616c03bf96fc70716b60189b47 (patch) | |
tree | 511f94c79f4113bc31d156c67eeaf4a2ec2509b9 /lib/Sema/SemaOverload.cpp | |
parent | 681bb9c202501f510b5ef9eb631095b5c75a0788 (diff) | |
download | clang-e8151ca3d9c9ec616c03bf96fc70716b60189b47.tar.gz |
Fix regression in r360311 caused by reversed bool arguments.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@360837 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaOverload.cpp')
-rw-r--r-- | lib/Sema/SemaOverload.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Sema/SemaOverload.cpp b/lib/Sema/SemaOverload.cpp index 74283a067c..256c2343e5 100644 --- a/lib/Sema/SemaOverload.cpp +++ b/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, |